This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<BuildingBlocks> | |
<ContentDefinitions> | |
<ContentDefinition Id="api.localaccountsignup"> | |
<LoadUri>~/tenant/templates/AzureBlue/selfAsserted.cshtml</LoadUri> | |
<RecoveryUri>~/common/default/default_page_error.html</RecoveryUri> | |
<DataUri>urn:com:microsoft:aad:b2c:elements:contract:selfasserted:2.1.7</DataUri> | |
<Metadata> | |
<Item Key="DisplayName">Sign Up</Item> | |
</Metadata> | |
</ContentDefinition> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ClaimsProviders> | |
<ClaimsProvider> | |
<DisplayName>Local User Provider</DisplayName> | |
<TechnicalProfiles> | |
<TechnicalProfile Id="ShowSignUpForm"> | |
<DisplayName>Sign Up Form</DisplayName> | |
<Description>Presentss the user with a form to complete to sign up for a user account</Description> | |
<Protocol Name="Proprietary" Handler="Web.TPEngine.Providers.SelfAssertedAttributeProvider, Web.TPEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" /> | |
<Metadata> | |
<Item Key="ContentDefinitionReferenceId">api.localaccountsignup</Item> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<UserJourneys> | |
<UserJourney Id="SignUp"> | |
<OrchestrationSteps> | |
<OrchestrationStep Order="1" Type="ClaimsExchange"> | |
<ClaimsExchanges> | |
<ClaimsExchange Id="ShowSignUpForm" TechnicalProfileReferenceId="ShowSignUpForm" /> | |
</ClaimsExchanges> | |
</OrchestrationStep> | |
<OrchestrationStep Order="2" Type="SendClaims" CpimIssuerTechnicalProfileReferenceId="JWTIssuer" /> | |
</OrchestrationSteps> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<RelyingParty> | |
<DefaultUserJourney ReferenceId="SignUp" /> | |
<UserJourneyBehaviors> | |
<JourneyInsights | |
TelemetryEngine="ApplicationInsights" | |
InstrumentationKey="PUT-YOUR-INSTUMENTATION-KEY-HERE" | |
DeveloperMode="true" | |
ClientEnabled="true" | |
ServerEnabled="true" | |
TelemetryVersion="1.0.0" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<TrustFrameworkPolicy | |
xmlns="http://schemas.microsoft.com/online/cpim/schemas/2013/06" | |
PolicySchemaVersion="0.3.0.0" | |
TenantId="projectcenterdev.onmicrosoft.com" | |
PolicyId="B2C_1A_SignUp" | |
PublicPolicyUri="http://projectcenterdev.onmicrosoft.com/B2C_1A_SignUp" | |
DeploymentMode="Development" | |
UserJourneyRecorderEndpoint="urn:journeyrecorder:applicationinsights"> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<RelyingParty> | |
<DefaultUserJourney ReferenceId="SignUpOrSignIn" /> | |
<TechnicalProfile Id="PolicyProfile"> | |
<DisplayName>PolicyProfile</DisplayName> | |
<Protocol Name="OpenIdConnect" /> | |
<OutputClaims> | |
<OutputClaim ClaimTypeReferenceId="displayName" /> | |
<OutputClaim ClaimTypeReferenceId="givenName" /> | |
<OutputClaim ClaimTypeReferenceId="surname" /> | |
<OutputClaim ClaimTypeReferenceId="email" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<TechnicalProfile Id="JwtIssuer"> | |
<DisplayName>JWT Issuer</DisplayName> | |
<Protocol Name="None" /> | |
<OutputTokenFormat>JWT</OutputTokenFormat> | |
<Metadata> | |
<Item Key="client_id">{service:te}</Item> | |
<Item Key="issuer_refresh_token_user_identity_claim_type">objectId</Item> | |
<Item Key="SendTokenResponseBodyWithJsonNumbers">true</Item> | |
</Metadata> | |
<CryptographicKeys> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ClaimType Id="otherMails"> | |
<DisplayName>Alternate Email Addresses</DisplayName> | |
<DataType>stringCollection</DataType> | |
<UserHelpText>Email addresses that can be used to contact the user.</UserHelpText> | |
</ClaimType> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<TechnicalProfile Id="AAD-UserReadUsingObjectId"> | |
<Metadata> | |
<Item Key="Operation">Read</Item> | |
<Item Key="RaiseErrorIfClaimsPrincipalDoesNotExist">true</Item> | |
</Metadata> | |
<IncludeInSso>false</IncludeInSso> | |
<InputClaims> | |
<InputClaim ClaimTypeReferenceId="objectId" Required="true" /> | |
</InputClaims> | |
<OutputClaims> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ClaimType Id="email"> | |
<DisplayName>Email Address</DisplayName> | |
<DataType>string</DataType> | |
<DefaultPartnerClaimTypes> | |
<Protocol Name="OpenIdConnect" PartnerClaimType="email" /> | |
</DefaultPartnerClaimTypes> | |
<UserHelpText>Email address that can be used to contact you.</UserHelpText> | |
<UserInputType>TextBox</UserInputType> | |
<Restriction> | |
<Pattern RegularExpression="^[a-zA-Z0-9.!#$%&'^_`{}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$" HelpText="Please enter a valid email address." /> |