Skip to content

Enable Cross-Browser SSO in Blazor WASM with Azure B2C and IAccessTokenProvider #55033

Answered by josephdecock
annLiu310 asked this question in General
Discussion options

You must be logged in to vote

This is a fundamentally impossible requirement, not specific to the choice of technology or identity provider. The basic difficulty is that sessions in web applications are based on cookies, and cookies are not shared between browsers.

When you get a single sign on experience, the reason it works is that a cookie-based session was established at the external identity provider (Azure B2C in this case) during the first login. When additional applications want to login, they redirect to Azure B2c and the browser sends the session cookie in that request. Then - using that cookie - the identity provider is able to authenticate the incoming request, see that there is an existing session, and im…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by annLiu310
Comment options

You must be logged in to vote
1 reply
@josephdecock
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants