Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New custom login page when use Azure AD as

Tags:

c#

login

azure

I am trying to use custom login page when using Azure AD but until now without success. I don't want to customize the login page offered by Azure, I want to use completely new login page. Is this possible?

I found some possible answers (Redirect user to custom login page when using Azure AD and Azure AD B2C - Populate username in custom login page) but and the owner of these questions still doesn't find the correct answer.

like image 608
Dragon Avatar asked Jan 26 '18 11:01

Dragon


People also ask

How do I customize my Azure B2C login page?

In the Azure portal, search for and select Azure AD B2C. Select User flows. Select a user flow you want to customize. Under Customize in the left menu, select Page layouts and then select a Template.

Can you create a custom domain name or use your organization domain name in Azure Active Directory?

Add your custom domain name to Azure ADAfter you create your directory, you can add your custom domain name. Sign in to the Azure portal using a Global administrator account for the directory. Search for and select Azure Active Directory from any page. Then select Custom domain names > Add custom domain.

Can I use Azure AD instead of Active Directory?

Unfortunately, the short answer to that question is no. Azure AD is not a replacement for Active Directory.

How do I log into Azure with a different account?

Multiple Account Sign-InIf you click on the top right where your username is you will see an option to “Sign in with a different account”, if you click on this you can sign in and have the option to switch between them in the portal.


1 Answers

The customization options of Azure AD are limited to branding and some text fields. Azure AD B2C offers much more UI customization options: https://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-reference-ui-customization.

It works by you providing a link to the HTML you would like to use on the page. You will need to put a single empty div element there though, where B2C will insert its content. You can use CSS to customize how they look. JavaScript is not allowed though for security reasons.

Though this probably should not be your decision point when deciding between Azure AD and Azure AD B2C since they are pretty different products. B2C is meant for customer-facing applications, while Azure AD is for apps used by organizations.

like image 75
juunas Avatar answered Sep 29 '22 15:09

juunas