Skip to content

Commit 54002d0

Browse files
committed
Use SAT endpoint to validate if SAT is allowed
This should fix: #466 And is tested with: OpenConext/OpenConext-devconf#41 Change in client bundle: OpenConext/Stepup-Middleware-clientbundle#99
1 parent 2bd9607 commit 54002d0

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

composer.lock

+8-8
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

+1-1
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)