Introduce new local claim for upn external claim
This commit introduces a new local claim to map the upn claim in the oidc dialect instead of mapping to the same username claim which is wrong according to the discussion and wso2/product-is#3069
<AttributeID>uid</AttributeID>
<Description>Username</Description>
</Claim>
+ <Claim>
+ <ClaimURI>http://wso2.org/claims/userprincipal</ClaimURI>
+ <DisplayName>User Principal</DisplayName>
+ <AttributeID>uid</AttributeID>
+ <Description>User Principal</Description>
+ </Claim>
<Claim>
<ClaimURI>http://wso2.org/claims/userid</ClaimURI>
<DisplayName>User ID</DisplayName>
<Description>The user principal name</Description>
<DisplayOrder>11</DisplayOrder>
<SupportedByDefault />
- <MappedLocalClaim>http://wso2.org/claims/username</MappedLocalClaim>
+ <MappedLocalClaim>http://wso2.org/claims/userprincipal</MappedLocalClaim>
</Claim>
<Claim>
<ClaimURI>groups</ClaimURI>
