1

My web app doesn't need signup feature. So i am only looking for signin. So i didn't setup anything under signup or sign policies.

I am trying to add custom login page to signin policy in Azure AD B2C. I selected Local Account SignIn as Identity provider. But the option Page UI Customization is not enabled and a lock symbol is shown. There is no validation message or information or tooltip explaining what should i do to unlock this feature. But this feature is enabled under signup or sign policies blade.

Can somebody help me with this.

Venkata Dorisala
  • 4,783
  • 7
  • 49
  • 90
  • 1
    Possible duplicate of [Change default picture - registration flow - AZURE - ADB2C](https://stackoverflow.com/questions/46037815/change-default-picture-registration-flow-azure-adb2c) – spottedmahn Oct 06 '17 at 14:43
  • 1
    Alternatively, can you use the sign-up or sign-in policy, and then hide the "div.create" element by your custom CSS? – Chris Padgett Oct 06 '17 at 23:55

2 Answers2

2

As stated on the UI customization docs page, sign-in pages (in sign-in and profile edit policies) can only be customized using the company branding feature. The question that spottedmahn linked to in the comments (about changing default picture) provides some useful steps.

UPDATE #2: I am retracting my update of "hiding" the link on sign-up/sign-in. That's because if you just hide the link, a user can still make a call to the signup endpoint directly and create a user account. This is not possible through sign-in policy.

Omer Iqbal
  • 2,245
  • 10
  • 15
  • If you'll willing to use custom policies, you can [disable the sign-up portion](https://stackoverflow.com/a/47292962/185123) in the policy, therefore, addressing UPDATE #2. – spottedmahn Feb 16 '18 at 23:37
0

I would suggest using the "Sign-up or sign-in" policy for this, and provide a custom template with you own CSS that hides the sign up link:

.create{
    display: none
}

'create' is the name of the CSS class used for the signup link.

Pytry
  • 6,044
  • 2
  • 37
  • 56