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

[Question]: How can I use implicit flow with a login prompt and an iframe silent refresh? #1856

Open
Guerric-P opened this issue Oct 26, 2023 · 0 comments
Labels

Comments

@Guerric-P
Copy link

Guerric-P commented Oct 26, 2023

What Version of the library are you using?
I am using version 14.1.5

Question
How can I use implicit flow with a login prompt and an iframe silent refresh?
I have configured the library like this customParamsAuthRequest: { prompt : 'login' } because I am authenticating my users against the ADFS and I need to force the web form instead of NTLM.
When I use oidcService.checkAuth(), I have no silent refresh, and when I use oidcService.checkAuthIncludingServer() my prompt : 'login' parameter gets arbitrarily overridden with a prompt : 'none' in the createAuthorizeUrl function.

I am looking for a solution to add the prompt : 'login' parameter in the initial authentication redirect, and let the library set prompt : 'none' in subsequent silent refresh requests.

@Guerric-P Guerric-P changed the title [Question]: [Question]: How can I use implicit flow with a login prompt and an iframe silent refresh? Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant