I've uploaded a sign-in page background image but it is only applying to my Edit Policy. Shouldn't it apply to all policies*?
Works on Edit Policy
Not working on my Sing-Up Policy
*Assuming I haven't assigned a custom page URI.
Only the sign-in policy and the "sign-in" page of profile edit policies use the mechanism that you have highlighted in your question. All other pages in all B2C policies have their own customization, which is described in another question by Jose Rojas: https://stackoverflow.com/a/46057178/3728123.
Related
I want to control the elements that are generated dynamically by the azure b2c.
Like change the element <p> tags to <h2> on email signup page,
so that "Your Details" appear inside a header tag.
In the Azure AD B2C There is a way to customize the interface of user experiences for sign-up, sign-in, and profile editing. Please go through the document for more information.
We can use javascript in the B2C but for your scenario it wont work. As per the Guidelines we should change the html elements order using javascript. Please go through the document it may help you for future reference.
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.
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.
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.
In the ADB2C user registration flow you have an picture on the left & the form on the right. Is there an easy way to change the picture on the left? I don't want to redesign the whole page.
Full customization which includes your own HTML/CSS is available for all the Azure AD B2C user flows including the "sign-up or sign-in policies" which offers a combined - registration and login - policy.
The "sign-in" policy type is the only one that offers the ability to customize via the "company branding" feature which needs only a picture upload.
All other flows require upload of HTML/CSS content. A template is available. Full customization is documented here: https://learn.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-reference-ui-customization
Page UI Customization is under Policy->Edit policy->Page UI Customization->Select page->provide source URI
Update
How you get to Company Branding has changed, see this SO Answer.
Previous
Yes. Go to Users and Groups -> Company Branding -> Edit -> Sign-in page background image.
I couldn't find an official documentation on learn.microsoft.com/azure/active-directory-b2c to reference, unfortunately.
Can we customize the content of verification emails to include a redirect link instead of code sent by SignUpOrSignin custom policies in Azure AD B2C - Identity Experience Framework?
Sample verification email:
I was referring to a document below, unfortunately I could not find any workaround:
https://learn.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-faqs
At this time, it is not possible to use a redirect link instead of a verification code in Azure AD B2C's account verification experience.
As per the Azure AD B2C FAQs you referenced, you can use the company branding feature to customize the content of verification emails.
Specifically, you can customize:
Banner Logo: Shown at the bottom-right.
Background color: Shown at the top.
Also, the email's signature is based on your tenant's name.
You can always request this feature in the Azure AD B2C feedback forum
Update in 2021
For people still referencing this post, as of June 2019, there is sample project that gives a good overview on how to implement a magic link as sign-in. This doubles a verification of the email as well.
In Azure AD B2C, I notice that into the Page UI customization for a policy, we can include some HTML code into the input field for text labels when we edit attribute (in the picture example for chekbox). Do you think it's a potential hack and Microsoft will block this behavior or is it an expected case ?
The ability to add HTML code in the input field for text labels/values is not intended to be a feature and not the intended approach to achieve UI customization. You should not rely on this as validation that prevents this can be added at any point.
To customize the UI today, you can provide your own page with a div container where Azure AD B2C will display its controls. You can certainly use CSS to further customize the look and feel of these fields. Check out this article for more info.
Azure AD B2C is also looking at adding support for custom JS which will give you further control over the UI. You can vote for that item in the Azure AD B2C UserVoice forum to support it and stay up to date on its progress