mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-09 23:12:06 -03:30
setting the user in ExecuteActionsActionTokenHandler.handleToken to manage user null case in FreeMarkerLoginFormsProvider.createResponse
Closes #17233 Signed-off-by: Rishabh Singh <rishabhsvats@gmail.com> (cherry picked from commit 8cad78b1dfff5b9154d0068702544e6ef62cbc29)
This commit is contained in:
parent
ca7b0299c6
commit
e39457d979
@ -89,6 +89,7 @@ public class ExecuteActionsActionTokenHandler extends AbstractActionTokenHandler
|
||||
|
||||
return session.getProvider(LoginFormsProvider.class)
|
||||
.setAuthenticationSession(authSession)
|
||||
.setUser(authSession.getAuthenticatedUser())
|
||||
.setSuccess(Messages.CONFIRM_EXECUTION_OF_ACTIONS)
|
||||
.setAttribute(Constants.TEMPLATE_ATTR_ACTION_URI, confirmUri)
|
||||
.setAttribute(Constants.TEMPLATE_ATTR_REQUIRED_ACTIONS, token.getRequiredActions())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user