question

ManuelCastro-9494 avatar image
0 Votes"
ManuelCastro-9494 asked JamesHamil-MSFT answered

Azure B2C how to mantain user session between a .net web app and SPA

We are using Azure B2C to manage authentication in our c# .net web app through Open Web Interface for .NET (OWIN) middleware components.

We also have a SPA on react and here we are using MSAL.js to authenticate the user

the SPA is gonna be open from the #.net web and we want to maintain the user session between these 2 apps.

currently, the user has to login when he goes from the .net app to the SPA or vice-versa, even if the user was already login

if somebody can point me out in the correct direction I'll appreciate

azure-ad-b2c
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, we are investigating your issue and will update you shortly!

Best,
James

1 Vote 1 ·

1 Answer

JamesHamil-MSFT avatar image
0 Votes"
JamesHamil-MSFT answered

Hi @ManuelCastro-9494 , This document and this document provide a good explanation on how to do something like this, if I'm understanding correctly. If not, please let me know and I can further look into this for you.

Thank you,
James


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.