For some reason my token configuration is not respected when using authorization code flow (response_type=code
). organization
, and displayName
are missing from the both the id and auth tokens.
When I use implicit grant flow (response_type=id_token
) it works as expected (organization
, and displayName
are present in the id token).
The configuration is included below. What is the reason?
<UserJourneys>
<UserJourney Id="DefaultSignin">
<OrchestrationSteps>
<OrchestrationStep Order="5" Type="SendClaims" CpimIssuerTechnicalProfileReferenceId="JwtIssuer" />
</OrchestrationSteps>
</UserJourney>
</UserJourneys>
<RelyingParty>
<DefaultUserJourney ReferenceId="DefaultSignin" />
<TechnicalProfile Id="JWTSignin">
<DisplayName>JWT Sign In</DisplayName>
<Protocol Name="OpenIdConnect" />
<OutputClaims>
<OutputClaim ClaimTypeReferenceId="signInName" PartnerClaimType="sub" />
<OutputClaim ClaimTypeReferenceId="displayName" />
<OutputClaim ClaimTypeReferenceId="organization" />
</OutputClaims>
<SubjectNamingInfo ClaimType="sub" />
</TechnicalProfile>
</RelyingParty>