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

Is it possible to provide a hint of the user to authenticate (subject / nameId) to the IDP? #140

Open
jcaron23 opened this issue Oct 21, 2020 · 0 comments

Comments

@jcaron23
Copy link

Hi,

In a scenario of mixed accounts (some local, some from SAML, or with accounts authenticated ), it is often desirable to have a two-step login: first ask for e-mail/username, then decide whether the user is local (ask for password) or should be authenticated via SAML.

In this last case, user sometimes needs to type his e-mail/username again. Is it possible to send a username to the IDP? The Subject element of AuthNRequest seems to be the way to go, but I don't see anyway to provide this info down the chain to the AuthNRequest constructor. Did I miss something?

Thanks!

@jcaron23 jcaron23 changed the title Is it possible to provide a hint of the user to authenticate (subject / named) to the IDP? Is it possible to provide a hint of the user to authenticate (subject / nameId) to the IDP? Oct 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant