Closed ShiningRush closed 6 years ago
Are the client credentials (client_id and client_secret) correct?
I have ensured the credentials of oidc plugin is right. Am i need to add a consumer to Kong?
No, you don't need any consumer registered in Kong.
This error indicates a some wrong configuration of the client credentials on Kong OIDC plugin side or a wrong configuration of the OIDC client in the OIDC Provider. What OIDC provider are you using? Have you configured the redirect url right and is the Authorization Code flow enabled in the OIDC Provider?
@Trojan295 Thanks, It is my fault to configure a wrong secret.
When i have configured kong-oidc and request to my api, it is successful to redirect to op and login. But after login then redirect to my api , i get a error like that
I have checked cookie and urls, there are already session and authorization code in query string. What else need i configure? Any idea is appreciated.