Description
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 than login 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 use prompt=create
instead of registrations
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
VS registrations
endpoint)?
Discussion
No response
Motivation
No response
Details
No response