Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to configure SSO for Azure AD B2C?

As per Azure AD B2C documentation we can configure SSO for Azure AD B2C application. We want our user to do self-registration for the application thus opted for AD B2C.

However after creating B2C tenant account and configuring all the policies. I am unable to find option to configure SSO. Since after 30th Nov 2017, Active Directory will only be available in new portal. Kindly provide reference wrt new portal.

Image after configuring 2 application in B2C. Any help will be appreciated.

Thanks in advance.

like image 844
Ankit Kumar Avatar asked Nov 16 '17 07:11

Ankit Kumar


People also ask

Does Azure AD B2C support SSO?

Single sign-on (SSO) adds security and convenience when users sign in across applications in Azure Active Directory B2C (Azure AD B2C).

Does Azure AD B2C support SAML?

Azure Active Directory B2C (Azure AD B2C) supports federation with SAML 2.0 identity providers. This article shows you how to enable sign-in with a SAML identity provider user account, allowing users to sign in with their existing social or enterprise identities, such as ADFS and Salesforce.


2 Answers

As the document in the your question said,if you have multiple applications and policies in your B2C tenant, you can manage user interactions across them using the Single sign-on configuration property. You can also add external identity provider like Google, Facebook and etc.

If you want to know how it works and how to configure SSO in Azure AD B2C, you can refer to this document.

Also, If you want to configure SSO for applications in your B2C tenant(the Directory).

  1. Go to Azure portal > Enterprise applications> Add Non-gallery applications or in applications in Gallery.

  2. After adding apps in Enterprise applications, you can select your app and enable SSO for it.

enter image description here

Hope this helps!


Update

Adding custom applications requires Azure AD Premium.

enter image description here

You can also active Azure Active Directory Premium free for one month.

Now, you can add your own custom applications in Enterprise Applications and then configure SSO for it:

enter image description here

like image 120
Wayne Yang Avatar answered Oct 13 '22 09:10

Wayne Yang


SSO integration in Active Directory is totally different from SSO integration in an application through AD B2C. It took some time for me to verify all the links and steps. Hope this will help others.

Below are the steps to configure SSO in AD B2C. Create AD B2C and configure all the policies.

  1. Once you have configured all your policies go to ALL policies node, it will list all the present policies in your application. Then click on singin policy. Alternatively you can directly click on sign in policy. enter image description here

  2. Once you click the EDIT option, you will see the option for 'Token, session and single sign-on configuration'. Configure those and you are done to use SSO. enter image description here

For more details about the token, session and sso config please refer here

  1. Create couple of application to verify that the SSO is working fine.

Happy Coding.

like image 41
Ankit Kumar Avatar answered Oct 13 '22 08:10

Ankit Kumar