Skip to content

Commit 97ff310

Browse files
authored
Merge pull request #467 from OpenConext/feature/bugfix-check-self-vetting-in-mw
Use SAT endpoint to validate if SAT is allowed
2 parents 2bd9607 + ac6f0e8 commit 97ff310

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
# 5.0.6
4+
- Fix: Vetting with a self asserted token is not allowed when adding a token, the user is always
5+
directed to the RA vetting page #466
6+
37
# 5.0.5
48
- Use a SAML (entitlement) attribute to decide what activation flows
59
a user may use #336

composer.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Surfnet/StepupSelfService/SelfServiceBundle/Service/AuthorizationService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function mayRegisterSelfAssertedTokens(Identity $identity): bool
3636

3737
public function maySelfVetSelfAssertedTokens(Identity $identity): bool
3838
{
39-
return $this->authorizationService->assertRegistrationOfSelfAssertedTokensIsAllowed($identity);
39+
return $this->authorizationService->assertSelfVettingOfSelfAssertedTokensIsAllowed($identity);
4040
}
4141

4242
public function mayRegisterRecoveryTokens(Identity $identity): bool

0 commit comments

Comments
 (0)