LINE Profile API response format mismatch with node-openid-client #412
-
I asked the question on LINE Developer Community: https://www.line-community.me/en/question/615fce7369e9a54065f239cd/profile-api-response-format-mismatch-with-nodeopenidclient Pre condition, Condition to reproduce
Issue/ Error Message detailsAccording to this documentation:
The example response of API is as follow (according to this documentation):
While as the
Which is obviously missing from the response. My question is whether should the expected response should be something like:
or a modification in this repository is needed? If I change the source code of |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
openid-client exhibits the correct and expected behaviour. sub is a required attribute in the userinfo response when openid is used. It is also required that the value returned be the same as in an issued ID Token which is the exact check you run into. This is also behaviour checked for by the conformance suite used to certify this software's conformance to the openid connect protocol. But the question is whether that endpoint truly is meant to be a userinfo endpoint in the openid connect protocol sense. |
Beta Was this translation helpful? Give feedback.
-
@panva thank you for confirmation. I am actually using |
Beta Was this translation helpful? Give feedback.
openid-client exhibits the correct and expected behaviour. sub is a required attribute in the userinfo response when openid is used.
It is also required that the value returned be the same as in an issued ID Token which is the exact check you run into. This is also behaviour checked for by the conformance suite used to certify this software's conformance to the openid connect protocol.
But the question is whether that endpoint truly is meant to be a userinfo endpoint in the openid connect protocol sense.