You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a federated OIDC IdP is configured and an alternate subject identifier (User ID Claim URI) is set to a different claim, it is possible to receive an alternative user claim value as the sub claim in the ID token. If the implicit grant is used and the token is then used with the userinfo endpoint, the subject will revert to the original subject value returned by the federated IdP.
This behavior does not occur with the authorization code grant.
Steps to Reproduce
Configure a federated OIDC IdP.
Federated IDP will send something like below in id token
Description
When a federated OIDC IdP is configured and an alternate subject identifier (User ID Claim URI) is set to a different claim, it is possible to receive an alternative user claim value as the sub claim in the ID token. If the implicit grant is used and the token is then used with the
userinfo
endpoint, the subject will revert to the original subject value returned by the federated IdP.This behavior does not occur with the authorization code grant.
Steps to Reproduce
Federated IDP will send something like below in id token
http://wso2.org/claims/username
)sub
claim of the id token will bejohndoe
sub
value of the userinfo response will beacb13b4e-cd63-4348-a95a-19ead6c832d9
sub
value must be consistent in id token and userinfo responseVersion
IS 5.11.0
Environment Details (with versions)
No response
The text was updated successfully, but these errors were encountered: