You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Disable email verification during consumer sign-up in Azure Active Directory B2C | Microsoft Docs
3
-
description: A topic demonstrating how to disable email verification during consumer sign-up in Azure Active Directory B2C.
2
+
title: Disable email verification during customer sign-up in Azure Active Directory B2C
3
+
description: Learn how to disable email verification during customer sign-up in Azure Active Directory B2C.
4
4
services: active-directory-b2c
5
5
author: mmacy
6
6
manager: celestedg
7
7
8
8
ms.service: active-directory
9
9
ms.workload: identity
10
10
ms.topic: conceptual
11
-
ms.date: 11/30/2018
11
+
ms.date: 09/25/2018
12
12
ms.author: marsma
13
13
ms.subservice: B2C
14
14
---
15
15
16
-
# Disable email verification during consumer sign-up in Azure Active Directory B2C
17
-
When enabled, Azure Active Directory B2C (Azure AD B2C) gives a consumer the ability to sign up for applications by providing an email address and creating a local account. Azure AD B2C ensures valid email addresses by requiring consumers to verify them during the sign-up process. It also prevents a malicious automated process from generating fake accounts for the applications.
16
+
# Disable email verification during customer sign-up in Azure Active Directory B2C
18
17
19
-
Some application developers prefer to skip email verification during the sign-up process and instead have consumers verify the email address later. To support this, Azure AD B2C can be configured to disable email verification. Doing so creates a smoother sign-up process and gives developers the flexibility to differentiate the consumers that have verified their email address from those consumers that have not.
18
+
By default, Azure Active Directory B2C (Azure AD B2C) verifies your customer's email address for local accounts (accounts for users who sign up with email address or username). Azure AD B2C ensures valid email addresses by requiring customers to verify them during the sign-up process. It also prevents a malicious actors from using automated processes to generate fraudulent accounts in your applications.
20
19
21
-
By default, sign-up user flows have email verification turned on. Use the following steps to turn it off:
20
+
Some application developers prefer to skip email verification during the sign-up process and instead have customers verify their email address later. To support this, Azure AD B2C can be configured to disable email verification. Doing so creates a smoother sign-up process and gives developers the flexibility to differentiate customers that have verified their email address from customers that have not.
22
21
23
-
1. Click **User flows**.
24
-
2. Click your user flow (for example, "B2C_1_SiUp") to open it.
25
-
3. Click **Page layouts**.
26
-
4. Click **Local account sign-up page**.
27
-
5. Click **Email Address** in the **Name** column under the **User attributes** section.
28
-
6. Under **Requires verification**, select **No**.
29
-
7. Click **Save** at the top of the blade. You're done!
22
+
Follow these steps to disable email verification:
30
23
31
-
> [!NOTE]
32
-
> Disabling email verification in the sign-up process may lead to spam. If you disable the default one, we recommend adding your own verification system.
33
-
>
34
-
>
24
+
1. Sign in to the [Azure portal](https://portal.azure.com)
25
+
1. Use the **Directory + subscription** filter in the top menu to select the directory that contains your Azure AD B2C tenant.
26
+
1. In the left menu, select **Azure AD B2C**. Or, select **All services** and search for and select **Azure AD B2C**.
27
+
1. Select **User flows**.
28
+
1. Select the user flow for which you want to disable email verification. For example, *B2C_1_signinsignup*.
29
+
1. Select **Page layouts**.
30
+
1. Select **Local account sign-up page**.
31
+
1. Under **User attributes**, select **Email Address**.
32
+
1. In the **REQUIRES VERIFICATION** drop down, select **No**.
33
+
1. Select **Save**. Email verification is now disabled for this user flow.
34
+
35
+
> [!WARNING]
36
+
> Disabling email verification in the sign-up process may lead to spam. If you disable the default Azure AD B2C-provided email verification, we recommend that you implement a replacement verification system.
Copy file name to clipboardExpand all lines: articles/active-directory-b2c/customize-ui-overview.md
+78-39Lines changed: 78 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,66 +1,90 @@
1
1
---
2
-
title: About user interface customization in Azure Active Directory B2C | Microsoft Docs
3
-
description: Learn about how to customize the user interface for your applications that use Azure Active Directory B2C.
2
+
title: Customize the user interface in Azure Active Directory B2C
3
+
description: Learn how to customize the user interface for your applications that use Azure Active Directory B2C.
4
4
services: active-directory-b2c
5
5
author: mmacy
6
6
manager: celestedg
7
7
8
8
ms.service: active-directory
9
9
ms.workload: identity
10
10
ms.topic: conceptual
11
-
ms.date: 09/11/2019
11
+
ms.date: 09/25/2019
12
12
ms.author: marsma
13
13
ms.subservice: B2C
14
14
---
15
15
16
-
# About user interface customization in Azure Active Directory B2C
16
+
# Customize the user interface in Azure Active Directory B2C
17
17
18
-
The ability for you to brand and customize the user interface (UI) that Azure Active Directory B2C (Azure AD B2C) serves to your applications is important for providing a seamless experience to your customer. These experiences include sign-up, sign-in, profile editing, and password resetting. This article provides information to help you customize the UI of your applications.
18
+
Branding and customizing the user interface that Azure Active Directory B2C (Azure AD B2C) displays to your customers helps provide a seamless user experience in your application. These experiences include signing up, signing in, profile editing, and password resetting. This article introduces the methods of user interface (UI) customization for both user flows and custom policies.
19
19
20
-
Depending on your needs when it comes to these experiences, you customize the UI of your application in different ways. For example:
20
+
## UI customization in different scenarios
21
21
22
-
- If you're using [user flows](active-directory-b2c-reference-policies.md) to provide sign-up or sign-in, password reset, or profile-editing experiences in your application, you use the [Azure portal to customize the UI](tutorial-customize-ui.md).
23
-
- If you’re using a v2 user flow, you can use a [page layout template](#page-layout-templates) to change the look of your user flow pages without further customization. For example, you can apply an Ocean Blue or Slate Gray theme to all pages in your user flow.
24
-
- If you're providing sign-in only, its accompanying password reset page, and verification emails, you use the same customization steps that are used for an [Azure AD sign-in page](../active-directory/fundamentals/customize-branding.md).
25
-
- If customers try to edit their profile before they sign in, they are redirected to a page that you customize using the same steps that are used for customizing the Azure AD sign-in page.
26
-
- If you're using [custom policies](active-directory-b2c-overview-custom.md) to provide sign-up or sign-in, password reset, or profile-editing in your application, you use [policy files to customize the UI](active-directory-b2c-ui-customization-custom.md).
27
-
- If you need to provide dynamic content based on a customer’s decision, you use [custom policies that can change page content](active-directory-b2c-ui-customization-custom-dynamic.md) depending on a parameter that's sent in a query string. For example, the background image on the Azure AD B2C sign-up or sign-in page changes, based on a parameter that you pass from your web or mobile application.
28
-
- You can enable JavaScript client-side code in your Azure AD B2C [user flows](user-flow-javascript-overview.md) or [custom policies](page-layout.md).
22
+
There are several ways to customize the UI of the user experiences your application, each appropriate for different scenarios.
29
23
30
-
Azure AD B2C runs code in your customer's browser and uses a modern approach called [Cross-Origin Resource Sharing (CORS)](https://www.w3.org/TR/cors/). At run-time, content is loaded from a URL that you specify in a user flow or policy. You specify different URLs for different pages. After content is loaded from your URL, it's merged with an HTML fragment inserted from Azure AD B2C, and then displayed to your customer.
24
+
### User flows
31
25
32
-
When using your own HTML and CSS files to customize the UI, review the following guidance before you start:
26
+
If you use [user flows](active-directory-b2c-reference-policies.md), you can change the look of your user flow pages by using built-in *page layout templates*, or by using your own HTML and CSS. Both methods are discussed later in this article.
33
27
34
-
- Azure AD B2C merges HTML content into your pages. Don't copy and try to change the default content that Azure AD B2C provides. It's best to build your HTML content from scratch and use the default content as reference.
35
-
- JavaScript can now be included in your custom content.
36
-
- Supported browser versions are:
37
-
- Internet Explorer 11, 10 and Microsoft Edge
38
-
- Limited support for Internet Explorer 9 and 8
39
-
- Google Chrome 42.0 and above
40
-
- Mozilla Firefox 38.0 and above
41
-
- Make sure that you don't include form tags in your HTML because it interferes with the POST operations generated by the injected HTML from Azure AD B2C.
28
+
You use the [Azure portal](tutorial-customize-ui.md) to configure the UI customization for user flows.
29
+
30
+
### Custom policies
31
+
32
+
If you're using [custom policies](active-directory-b2c-overview-custom.md) to provide sign-up or sign-in, password reset, or profile-editing in your application, use [policy files to customize the UI](active-directory-b2c-ui-customization-custom.md).
33
+
34
+
If you need to provide dynamic content based on a customer's decision, use custom policies that can [change page content dynamically](active-directory-b2c-ui-customization-custom-dynamic.md) depending on a parameter that's sent in a query string. For example, you can change the background image on the Azure AD B2C sign-up or sign-in page based on a parameter that you pass from your web or mobile application.
35
+
36
+
### JavaScript
37
+
38
+
You can enable client-side JavaScript code in both [user flows](user-flow-javascript-overview.md) and [custom policies](page-layout.md).
39
+
40
+
### Sign in-only UI customization
41
+
42
+
If you're providing sign-in only, along with its accompanying password reset page and verification emails, use the same customization steps that are used for an [Azure AD sign-in page](../active-directory/fundamentals/customize-branding.md).
43
+
44
+
If customers try to edit their profile before signing in, they're redirected to a page that you customize by using the same steps that are used for customizing the Azure AD sign-in page.
42
45
43
46
## Page layout templates
44
47
45
-
For v2 user flows, you can choose a pre-designed template that gives your default pages a better lookand serves as a good basis for your own customization.
48
+
User flows provide several built-in templates you can choose from to give your user experience pages a professional look. These layout templates can also and serve as starting point for your own customization.
46
49
47
-
In the left menu, under **Customize**, select **Page layouts**. Then select **Template (Preview)**.
50
+
Under **Customize** in the left menu, select **Page layouts** and then select **Template**.
48
51
49
-

52
+

50
53
51
-
Select a template from the list. For example, the **Ocean Blue** template applies the following layout to your user flow pages:
54
+
Next, select a template from the list. Here are examples of the sign-in pages for each template:
52
55
53
-

56
+
| Ocean Blue | Slate Gray | Classic |
57
+
|:-:|:-:|:-:|
58
+
||||
54
59
55
60
When you choose a template, the selected layout is applied to all pages in your user flow, and the URI for each page is visible in the **Custom page URI** field.
56
61
57
-
## Where do I store UI content?
62
+
## Custom HTML and CSS
63
+
64
+
Azure AD B2C runs code in your customer's browser by using an approach called [Cross-Origin Resource Sharing (CORS)](https://www.w3.org/TR/cors/).
65
+
66
+
At runtime, content is loaded from a URL that you specify in your user flow or custom policy. Each page in the user experience loads its content from the URL you specify for that page. After content is loaded from your URL, it's merged with an HTML fragment inserted by Azure AD B2C, and then the page is displayed to your customer.
67
+
68
+
Review the following guidance before using your own HTML and CSS files to customize the UI:
69
+
70
+
- Azure AD B2C **merges** HTML content into your pages. Don't copy and try to change the default content that Azure AD B2C provides. It's best to build your HTML content from scratch and use the default content as reference.
71
+
-**JavaScript** can be included in your custom content for both [user flows](user-flow-javascript-overview.md) and [custom policies](javascript-samples.md).
72
+
- Supported **browser versions** are:
73
+
- Internet Explorer 11, 10, and Microsoft Edge
74
+
- Limited support for Internet Explorer 9 and 8
75
+
- Google Chrome 42.0 and above
76
+
- Mozilla Firefox 38.0 and above
77
+
- Don't include **form tags** in your HTML. Form tags interfere with the POST operations generated by the HTML injected by Azure AD B2C.
58
78
59
-
When using your own HTML and CSS files to customize the UI, you can host your UI content anywhere, such as on [Azure Blob storage](../storage/blobs/storage-blobs-introduction.md), web servers, CDNs, AWS S3, or file sharing systems. The important point is that you host the content on a publicly available HTTPS endpoint with CORS enabled. You must use an absolute URL when you specify it in your content.
79
+
### Where do I store UI content?
60
80
61
-
## How do I get started?
81
+
When using your own HTML and CSS files to customize the UI, you can host your UI content on any publicly available HTTPS endpoint that supports CORS. For example, [Azure Blob storage](../storage/blobs/storage-blobs-introduction.md), web servers, CDNs, AWS S3, or file sharing systems.
62
82
63
-
You do the following to customize the UI:
83
+
The important point is that you host the content on a publicly available HTTPS endpoint with CORS enabled. You must use an absolute URL when you specify it in your content.
84
+
85
+
## Get started with custom HTML and CSS
86
+
87
+
Get started using your own HTML and CSS in your user experience pages by following these guidelines.
64
88
65
89
- Create well-formed HTML content with an empty `<div id="api"></div>` element located somewhere in the `<body>`. This element marks where the Azure AD B2C content is inserted. The following example shows a minimal page:
66
90
@@ -78,7 +102,6 @@ You do the following to customize the UI:
78
102
</html>
79
103
```
80
104
81
-
- Host your content on an HTTPS endpoint (with CORS allowed). Both GET and OPTIONS request methods must be enabled when configuring CORS.
82
105
- Use CSS to style the UI elements that Azure AD B2C inserts into your page. The following example shows a simple CSS file that also includes settings for the sign-up injected HTML elements:
83
106
84
107
```css
@@ -104,29 +127,45 @@ You do the following to customize the UI:
104
127
}
105
128
```
106
129
107
-
- Create or edit a policy to use the content that you created.
130
+
- Host your content on an HTTPS endpoint (with CORS allowed). Both GET and OPTIONS request methods must be enabled when configuring CORS.
131
+
- Create or edit a user flow or custom policy to use the content that you created.
132
+
133
+
### HTML fragments from Azure AD B2C
108
134
109
135
The following table lists the HTML fragments that Azure AD B2C merges into the `<divid="api"></div>` element located in your content.
110
136
111
137
| Inserted page | Description of HTML |
112
138
| ------------- | ------------------- |
113
139
| Identity provider selection | Contains a list of buttons for identity providers that the customer can choose from during sign-up or sign-in. These buttons include social identity providers such as Facebook, Google, or local accounts (based on email address or user name). |
114
140
| Local account sign-up | Contains a form for local account sign-up based on an email address or a user name. The form can contain different input controls such as text input box, password entry box, radio button, single-select drop-down boxes, and multi-select check boxes. |
115
-
| Social account sign-up | May appear when signing up using an existing account from a social identity provider such as Facebook or Google. It’s used when additional information must be collected from the customer using a sign-up form. |
141
+
| Social account sign-up | May appear when signing up using an existing account from a social identity provider such as Facebook or Google. It's used when additional information must be collected from the customer using a sign-up form. |
116
142
| Unified sign-up or sign-in | Handles both sign-up and sign-in of customers who can use social identity providers such as Facebook, Google, or local accounts. |
117
143
| Multi-factor authentication | Customers can verify their phone numbers (using text or voice) during sign-up or sign-in. |
118
144
| Error | Provides error information to the customer. |
119
145
120
-
121
-
## How do I localize content?
146
+
## Localize content
122
147
123
148
You localize your HTML content by enabling [language customization](active-directory-b2c-reference-language-customization.md) in your Azure AD B2C tenant. Enabling this feature allows Azure AD B2C to forward the OpenID Connect parameter `ui-locales` to your endpoint. Your content server can use this parameter to provide language-specific HTML pages.
124
149
125
-
Content can be pulled from different places based on the locale that's used. In your CORS-enabled endpoint, you set up a folder structure to host content for specific languages. You'll call the right one if you use the wildcard value {Culture:RFC5646}. For example, your custom page URI might look like `https://contoso.blob.core.windows.net/{Culture:RFC5646}/myHTML/unified.html`. You can load the page in French by pulling content from `https://contoso.blob.core.windows.net/fr/myHTML/unified.html`
150
+
Content can be pulled from different places based on the locale that's used. In your CORS-enabled endpoint, you set up a folder structure to host content for specific languages. You'll call the right one if you use the wildcard value `{Culture:RFC5646}`.
151
+
152
+
For example, your custom page URI might look like:
For customization examples, download and review these [sample template files](https://github.com/azureadquickstarts/b2c-azureblobstorage-client/archive/master.zip).
166
+
You can find several sample template files in the [B2C-AzureBlobStorage-Client](https://github.com/azureadquickstarts/b2c-azureblobstorage-client) repository on GitHub.
167
+
168
+
The sample HTML and CSS files in the templates are located in the [/sample_templates](https://github.com/AzureADQuickStarts/B2C-AzureBlobStorage-Client/tree/master/sample_templates) directory.
0 commit comments