8000 Redirect param in the callback url for login flow not working with keycloak. · keycloak keycloak · Discussion #24687 · GitHub
[go: up one dir, main page]

Skip to content
Discussion options

You must be logged in to vote

I see at least these points to be considered here:

  • Keycloak checks the whole redirect URL including query params, so it is not sufficient to just configure https://<my_backend_uri>/callback. Instead you could configure one of the following redirect uris, using wildcard *:
    • https://<my_backend_uri>/callback?redirect=*: Allows just one query param redirect, which has to be specified always.
    • https://<my_backend_uri>/callback*: Allows any query param, but also allows URLs such as https://<my_backend_uri>/callback123
    • https://<my_backend_uri>/callback/*: Only works when the backend allows a trailing slash: Allows any query param, and does NOT allow URLs such as https://<my_backend_uri>/callbac…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@richard-infai
Comment options

@joalcava
Comment options

@Reda1000
Comment options

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