Skip to content

Instantly share code, notes, and snippets.

@mfcollins3
Created January 21, 2022 04:54
Show Gist options
  • Save mfcollins3/1985d1bb600dbcd4b2b0e4c44e8cfa3b to your computer and use it in GitHub Desktop.
Save mfcollins3/1985d1bb600dbcd4b2b0e4c44e8cfa3b to your computer and use it in GitHub Desktop.
Sign Up Relying Party Policy for B2C
<RelyingParty>
<DefaultUserJourney ReferenceId="SignUp" />
<UserJourneyBehaviors>
<JourneyInsights
TelemetryEngine="ApplicationInsights"
InstrumentationKey="PUT-YOUR-INSTUMENTATION-KEY-HERE"
DeveloperMode="true"
ClientEnabled="true"
ServerEnabled="true"
TelemetryVersion="1.0.0" />
</UserJourneyBehaviors>
<TechnicalProfile Id="PolicyProfile">
<DisplayName>Sign Up</DisplayName>
<Description>Allows new users to sign up and create an account</Description>
<Protocol Name="OpenIdConnect" />
<InputClaims></InputClaims>
<OutputClaims>
<OutputClaim ClaimTypeReferenceId="objectId" PartnerClaimType="sub" />
<OutputClaim ClaimTypeReferenceId="tenantId" AlwaysUseDefaultValue="true" DefaultValue="{Policy:TenantObjectId}" />
</OutputClaims>
<SubjectNamingInfo ClaimType="sub" />
</TechnicalProfile>
</RelyingParty>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment