Skip to content

What's wrong? I'll get after good looking flow "invalid-token-response" in WP-Plugin? #317

Answered by kevinchalet
svenniuwe asked this question in Q&A
Discussion options

You must be logged in to vote

Hey,

Also your client ID and scopes also do not look like typically values. With the OpenID Connect setup with identity providers the client ID is usually generated by the IDP as it has to be unique, this isn't a value you just make up.

Unique doesn't mean random 😄 (and FWIW, using non-random/user-defined strings is quite frequent when you don't have third-party clients)

I'm not familiar at all with oidc-wp but if I had to guess what's happening here:

  • The openid scope is not requested.
  • The OrchardCore OpenID module assumes it's not an OIDC request and treats it as an OAuth 2.0 request.
  • Since it's not an OIDC request, no id_token is returned in the token response.
  • The client detects the…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@svenniuwe
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by svenniuwe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants