What's wrong? I'll get after good looking flow "invalid-token-response" in WP-Plugin? #317
-
Hello, First steps are promising, I get redirected to Orchard-Core-Login, then there I'm requested to accept access then redirected to Wordpress and then the above error appears. What might be wrong? Thank you for any suggestions! Bye ================== Type: request_authentication_token Type: invalid-token-response object(WP_Error)#935 (3) { |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
@svenniuwe so from the response it seems as though that Orchard-Core-Authorization Server is not sending a proper OpenID Connect authorization code back to the WordPress site, unless you intentionally left out the |
Beta Was this translation helpful? Give feedback.
-
Looking at the documentation for that server("OpenId - Orchard Core Documentation" https://docs.orchardcore.net/en/dev/docs/reference/modules/OpenId/) you need to make sure to enable Authorization Code flow. |
Beta Was this translation helpful? Give feedback.
-
Hey,
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
Adding |
Beta Was this translation helpful? Give feedback.
Hey,
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:openid
scope is not requested.id_token
is returned in the token response.