Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make prove possession step optional #309

Merged
merged 1 commit into from
Jul 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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