-
Notifications
You must be signed in to change notification settings - Fork 64
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
Signout from ExternalProvider and 2FA #98
Comments
Hi Jan The mapping for the external claims are not mapped to the Principal from the "local" user. You can map these as required in the account controller method which handles the callback from the external provider. In this method the external principal is cleaned up, so you can change this, persist this as needed. Greetings Damien |
Hello @damienbod I think this issue was connected to this behaviour of We added in this method - Thanks! Jan |
Hi @damienbod
when I want to sign in via external OIDC provider and it is required 2FA, I am redirected to login page with 2FA which works well. But after that I got the claim called
idp
, but with valuelocal
- the information about external IdP is gone.After attempt to sign out - the redirect to external provider is not execuded because the claim
idp
islocal
, notoidc
.IdentityServer4AspNetCoreIdentityTemplate/content/StsServerIdentity/Controllers/AccountController.cs
Line 741 in 02eb4ec
Do you have any idea how to configure these things for following scenario?
Thanks!
Jan
The text was updated successfully, but these errors were encountered: