8000 SCA and Credential Management UI: Keycloakify or External Frontend? · keycloak keycloak · Discussion #54611 · GitHub
[go: up one dir, main page]

Skip to content
Discussion options

You must be logged in to vote

Yes, that works, and Keycloak's own quickstarts include an example of it. authenticate() can pass any JAX-RS Response to context.challenge(), including a 302 to your frontend. The action-token-authenticator quickstart works like this:

  • The authenticator creates an action token tied to the current authentication session and redirects to the external app. The return URL goes along with the redirect.
  • When it is done, the app sends the browser back to Keycloak's action-token endpoint with its own HMAC-signed token.
  • The handler checks that token, sets an auth note and resumes the browser flow, and action() then calls context.success().

https://github.com/keycloak/keycloak-quickstarts/tree/c59…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Batev
Comment options

@Dv2Corn
Comment options

Answer selected by Batev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
0