Azure AD SAML with React and Nodejs - auto login with azure portal

0 votes

I'm new to SAML and Azure AD. I have worked with MSAL(Microsoft Authentication Library) but the requirement is different here.

What I am asked to do is - User is logged in to browser tab1 with https://portal.azure.com/ and the browser tab2 has opened my web app (dummyexample.com). Now when the user reloads the browser tab2 i.e. my web app then the user should automatically log in as the user is already logged in to browser tab1 (in the Azure portal). If the user is not logged in tab1 then tab2 should redirect to login with azure credentials.

As much as I know it is not possible. How the tab2 reads the session/cookie of tab1? How dummyexample.com would know that the Azure AD is already logged in the browser? I am told that it's possible with SAML but I can't find any resources.

Could you please help me with the requirement?

Apr 6, 2022 in Azure by Edureka
• 13,620 points
2,951 views

1 answer to this question.

0 votes

You just need to configure your web apps to point to this Active Directory. Since authentication for web apps was moved to portal.azure.com.

enter image description here

Do the authentication setting as I have done.

answered Apr 7, 2022 by Edureka
• 12,690 points

Related Questions In Azure

0 votes
0 answers

Windows Azure Portal login to portal and receive error "We are having trouble logging you into the portal"

Open browser Navigate to http://www.windowsazure.com/en-us/ Select portal top right login with ...READ MORE

Mar 2, 2022 in Azure by Edureka
• 13,620 points
479 views
0 votes
1 answer

Error with Azure AD Authentication in Unity for Android

Depending on the version, Unity uses UnityPlayerActivity ...READ MORE

answered Mar 24, 2022 in Azure by Edureka
• 13,620 points
655 views
0 votes
1 answer

Can i use a custom domain with free azurewebsites.net in Azure and can i also have a free ssl?

Yes, this is doable; for more information, ...READ MORE

answered Apr 7, 2022 in Azure by Edureka
• 12,690 points
488 views
0 votes
1 answer

Why is collect in SparkR slow?

It's not the collect() that is slow. ...READ MORE

answered May 3, 2018 in Apache Spark by Data_Nerd
• 2,390 points
2,540 views
0 votes
1 answer

Django AllAuth gives SSLError

It can be fixed by replacing: client = ...READ MORE

answered Mar 20, 2019 in Python by SDeb
• 13,300 points
787 views
0 votes
1 answer

Implementing a SAML client in Python

I know you are looking for a ...READ MORE

answered Apr 29, 2019 in Python by SDeb
• 13,300 points
1,652 views
0 votes
1 answer

Google OAuth 2 authorization - Error: redirect_uri_mismatch

To answer your question, you need to ...READ MORE

answered Feb 16, 2022 in Others by Soham
• 9,700 points
5,627 views
0 votes
1 answer

OutSystems PWA Azure AD Login

Because it involves user input, AAD does ...READ MORE

answered Apr 4, 2022 in Azure by Edureka
• 12,690 points
769 views
0 votes
1 answer

Azure az login with tenant

we can use CLI command like this: az ...READ MORE

answered Apr 7, 2022 in Azure by Edureka
• 12,690 points
1,744 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP