Repository navigation
Redirect param in the callback url for login flow not working with keycloak. #24687
|
Hey community I am writing a login handler in java, in which i am constructing a authorize url for keycloack. We provide a callback url to build the authorize url, so my authorize url will look like but with keycloak i am seeing i get an invalid response for the callback - i get invalid parameter |
Replies: 1 comment 3 replies
|
I see at least these points to be considered here:
|
I see at least these points to be considered here:
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 ashttps://<my_backend_uri>/callback123https://<my_backend_uri>/callback/*: Only works when the backend allows a trailing slash: Allows any query param, and does NOT allow URLs such ashttps://<my_backend_uri>/callbac…