Replies: 1 comment
-
|
I think that makes sense. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Clients which are pre-configured by Keycloak define valid redirect URIs using a wildcard (*).
For the master realm, the following redirect URIs are set:
Recently some open redirect attacks were found and fixed, which could be applied when a wildcard was used. To protect against potential flaws in wildcard based URI validation, it would be good to switch to fixed redirect URIs for Keycloaks own clients:
Systems could be secured by just removing the wildcard, but that would break deep linking into admin console or account console.
To retain deep linking functionality, applications would need to store the target path locally related by state parameter ID and use only one fixed Redirect URI to receive the OAuth2 code.
Should we create two issues, one for security-admin-console and one for the account console clients, to get future versions of Keycloak more secure by default?
Beta Was this translation helpful? Give feedback.
All reactions