-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for prompt=create in keycloak.js #6
Comments
We can probably use the |
@jonkoops +1 . It has option So if the |
closes #36085 Signed-off-by: mposolda <[email protected]>
closes #36085 Signed-off-by: mposolda <[email protected]>
closes #36085 Signed-off-by: mposolda <[email protected]>
Description
There was this functionality added in Keycloak 26.1 keycloak/keycloak#10701 . It is standard way how can client notify Keycloak that it wants to open
user registrations
screen rather thanlogin screen
.The keycloak.js supports the functionality by the proprietary
registrations
endpoint https://github.com/keycloak/keycloak/blob/26.0.7/js/libs/keycloak-js/lib/keycloak.js#L839 . But the endpoint is now deprecated. It can be nice to update this to useprompt=create
instead ofregistrations
endpoint, so we can eventually remove the endpoint in Keycloak 27 ( keycloak/keycloak#36084 ) without keycloak.js being broken.At the same time, it can be nice if we keep the support for
registrations
endpoint for the cases when keycloak.js is used with older Keycloak server versions than 26.1. Not sure if there is a mechanism in keycloak.js to detect server version or if it needs to be some configuration option in keycloak.js to specify which way to use (prompt=create
VSregistrations
endpoint)?Discussion
No response
Motivation
No response
Details
No response
The text was updated successfully, but these errors were encountered: