Skip to content
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

Prompt Parameter for onLoad: login-required in js adapter #28441

Open
floriankick opened this issue Apr 4, 2024 · 1 comment
Open

Prompt Parameter for onLoad: login-required in js adapter #28441

floriankick opened this issue Apr 4, 2024 · 1 comment
Labels
kind/enhancement Categorizes a PR related to an enhancement status/triage

Comments

@floriankick
Copy link

Description

Currently using the url parameter prompt=login to force keycloak to show the login form is only possibe for the explicit login() function. I prefer onLoad: login-required parameter in the init() function, but there is no parameter prompt allowed.

Would it be possible to add prompt for the init() onLoad combination as well?

Discussion

No response

Motivation

No response

Details

No response

@floriankick floriankick added kind/enhancement Categorizes a PR related to an enhancement status/triage labels Apr 4, 2024
@jonkoops
Copy link
Contributor

jonkoops commented Apr 4, 2024

I don't think we want to add this, for the simple reason that the amount of parameters that can be passed to login() is quite large, and I don't want to expand the already quite cluttered initialization options. There is nothing wrong with calling the .login() function manually, and only using init() to get the authentication status.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Categorizes a PR related to an enhancement status/triage
Projects
None yet
Development

No branches or pull requests

2 participants