+
Skip to content

Support for prompt=create #6

Open
@mposolda

Description

@mposolda

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载