Re-enable Federated Access Token in user sessions
Closes #25290 Signed-off-by: wojnarfilip <fwojnar@redhat.com>
This commit is contained in:
parent
baf6186863
commit
925c5572ad
1 changed files with 1 additions and 0 deletions
|
@ -513,6 +513,7 @@ public class DefaultTokenExchangeProvider implements TokenExchangeProvider {
|
|||
|
||||
// this must exist so that we can obtain access token from user session if idp's store tokens is off
|
||||
userSession.setNote(IdentityProvider.EXTERNAL_IDENTITY_PROVIDER, externalIdpModel.get().getAlias());
|
||||
userSession.setNote(IdentityProvider.FEDERATED_ACCESS_TOKEN, subjectToken);
|
||||
|
||||
context.addSessionNotesToUserSession(userSession);
|
||||
|
||||
|
|
Loading…
Reference in a new issue