![]() This email address must be verified in SendGrid under Sender Authentication with either domain authentication or Single Sender Authentication. Use a valid email address to help prevent the verification email from being marked as spam. Update the template_id InputParameter value with the ID of the SendGrid transactional template you created earlier in Create SendGrid template.Make the following updates to the claims transformation XML: For more information about JSON claims transformations, see JSON claims transformations.Īdd the following claims transformation to the element within. The values come from the InputClaims' values and the InputParameters' "Value" properties. Numbers in the dot notation imply arrays. The JSON object's structure is defined by the IDs in dot notation of the InputParameters and the TransformationClaimTypes of the InputClaims. Next, you need a claims transformation to output a JSON string claim that will be the body of the request sent to SendGrid. These claims types are necessary to generate and verify the email address using a one-time password (OTP) code. In your policy, add the following claim types to the element within. Displa圜ontrol_TrustFrameworkExtensions.xml uses TrustFrameworkExtensions.xml as its base file hence make sure to include TrustFrameworkBase.xml, TrustFrameworkLocalization.xml and TrustFrameworkExtensions.xml files from the SocialAndLocalAccounts starter pack in your policy. We recommend that you use a sample Custom email verification custom policy available on GitHub. The next steps show you how to build your custom policy XML files. You specify this ID when you add the claims transformation. Record the ID of template you created for use in a later step. Return to the Transactional Templates page by selecting the back arrow. The account!Įxpand Settings on the left, and for Version Name, enter a template version. In the HTML editor, paste following HTML template or use your own. Select Blank Template and then Code Editor. Verification email, then select Add Version. To begin editing your new template, select the template i.e. On the SendGrid site, open the transactional templates page and select Create a Dynamic Template.Įnter a unique template name like Verification email and then select Create. With a SendGrid account created and SendGrid API key stored in an Azure AD B2C policy key, create a SendGrid dynamic transactional template. In Secret, enter the SendGrid API key that you previously recorded.The prefix B2C_1A_ is added automatically to the name of your key. Select Policy Keys and then select Add.On the Overview page, select Identity Experience Framework.Choose All services in the top-left corner of the Azure portal, and then search for and select Azure AD B2C.On the Portal settings | Directories + subscriptions page, find your Azure AD B2C directory in the Directory name list, and then select Switch.Select the Directories + subscriptions icon in the portal toolbar. ![]() Make sure you're using the directory that contains your Azure AD B2C tenant.Next, store the SendGrid API key in an Azure AD B2C policy key for your policies to reference. For more information, see Warming Up An Ip Address. When using dedicated IP addresses, you need to build your own reputation properly with an IP address warm-up. SendGrid offers customers the ability to send emails from shared IP and dedicated IP addresses. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |