Skip to content

LINE Profile API response format mismatch with node-openid-client #412

Answered by panva
ThangHuuVu asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by ThangHuuVu
Comment options

You must be logged in to vote
5 replies
@panva
Comment options

panva Oct 8, 2021
Maintainer

@ThangHuuVu
Comment options

@panva
Comment options

panva Oct 8, 2021
Maintainer

@ThangHuuVu
Comment options

@panva
Comment options

panva Oct 8, 2021
Maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants