Skip to content

Commit

Permalink
Merge pull request #309 from OpenConext/feature/ra-optional-vetting
Browse files Browse the repository at this point in the history
Make prove possession step optional
  • Loading branch information
pablothedude authored Jul 30, 2020
2 parents 07e68b6 + a96a5a7 commit f38f3d6
Show file tree
Hide file tree
Showing 24 changed files with 901 additions and 96 deletions.
6 changes: 6 additions & 0 deletions config/legacy/parameters.yaml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,9 @@ parameters:
# institution config (middleware api). The value configured in the parameters.yml will be used as the
# fallback/default value.
number_of_tokens_per_identity: 1

# Sets the tokens that can skip the prove possession step.
#
# This is the global, application wide default. The configuration consists of an array with second factors types
# that will skip the prove possession step in RA.
skip_prove_possession_second_factors: []
1 change: 1 addition & 0 deletions config/packages/events.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ parameters:
- Surfnet\Stepup\Identity\Event\InstitutionsRemovedFromWhitelistEvent
- Surfnet\Stepup\Identity\Event\U2fDevicePossessionProvenEvent
- Surfnet\Stepup\Identity\Event\SecondFactorVettedEvent
- Surfnet\Stepup\Identity\Event\SecondFactorVettedWithoutTokenProofOfPossession
- Surfnet\Stepup\Identity\Event\VerifiedSecondFactorRevokedEvent
- Surfnet\Stepup\Identity\Event\WhitelistCreatedEvent
- Surfnet\Stepup\Identity\Event\UnverifiedSecondFactorRevokedEvent
Expand Down
7 changes: 7 additions & 0 deletions config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,10 @@
imports:
- { resource: 'legacy/bundles.yaml' }
- { resource: 'legacy/parameters.yaml' }

services:

Surfnet\Stepup\Helper\SecondFactorProvePossessionHelper:
arguments:
- "@surfnet_stepup.service.second_factor_type"
- '%skip_prove_possession_second_factors%'
12 changes: 12 additions & 0 deletions docs/personal-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,18 @@ A list of all the [Identity events]((../src/Surfnet/Stepup/Identity/Event/) in s
- Forgettable: secondFactorIdentifier
- Forgettable: documentNumber

[SecondFactorVettedWithoutTokenProofOfPossession](../src/Surfnet/Stepup/Identity/Event/SecondFactorVettedEvent.php)
- identity_id
- name_id
- identity_institution
- second_factor_id
- second_factor_type
- preferred_locale
- Forgettable: email
- Forgettable: commonName
- Forgettable: secondFactorIdentifier
- Forgettable: documentNumber

[U2fDevicePossessionProvenAndVerifiedEvent](../src/Surfnet/Stepup/Identity/Event/U2fDevicePossessionProvenAndVerifiedEvent.php)
- identity_id
- identity_institution
Expand Down
Loading

0 comments on commit f38f3d6

Please sign in to comment.