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

Unable to do single sign on(SSO) every time the window asking for login with username and password #1513

Open
raviteja74 opened this issue May 17, 2024 · 1 comment
Labels
question Further information is requested

Comments

@raviteja74
Copy link

My application is based on Cordova cross platform desktop app which supports windows and ios platforms my past team members configured Oauth in pkce flow using this library but the problem is it is asking every time login credentials not showing any existing account to select and perform Single sign on could please help me on what settings i can give here to work on SSO mode?

@raviteja74 raviteja74 changed the title Single sign on window not showing every time it is asking for login with username and password Unable to do single sign on(SSO) every time the window asking for login with username and password May 17, 2024
@pamapa pamapa added the question Further information is requested label May 17, 2024
@pamapa
Copy link
Member

pamapa commented May 17, 2024

  • If your application has a valid access token do not call signinRedirect.
  • If you do not have a valid access token and need to call signinRedirect and want to prevent the IdP from doing ask for username and password you must prove that you already logged in before. Most are doing this by using a Session Cookie, you must ensure that you are sending it with the login request...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants