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 in Azure by Edureka
• 7,720 points
200 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 by Edureka
• 8,460 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 in Azure by Edureka
• 7,720 points
49 views
0 votes
1 answer
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 in Azure by Edureka
• 8,460 points
75 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
1,173 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
325 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,206 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 in Others by Soham
• 8,730 points
816 views
0 votes
1 answer

OutSystems PWA Azure AD Login

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

answered Apr 4 in Azure by Edureka
• 8,460 points
71 views
0 votes
1 answer

Azure az login with tenant

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

answered Apr 7 in Azure by Edureka
• 8,460 points
75 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP