Reason for subject check when fetching user info? #790
-
Why is there a subject check when using the fetch user info function? I don’t understand why the server would return an unexpected subject for the given access token. It also looks like it's just a client-side validation, which could be done by the user after the fetch if he wants to validate the subject. It also wasn't part of v5. Am I missing something? client.fetchUserInfo(config, accessToken, client.skipSubjectCheck) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
It is part of the spec, https://openid.net/specs/openid-connect-core-1_0.html#UserInfoResponse
And it was part of v5 when the input to userInfo() was a TokenSet that contained an ID Token.
I doubt they would. |
Beta Was this translation helpful? Give feedback.
It is part of the spec, https://openid.net/specs/openid-connect-core-1_0.html#UserInfoResponse
And it was part of v5 when the input to userInfo() was a TokenSet that contained an ID Token.
I doubt they would.