You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To make Kong validate the JWT issued by Keycloak you can use either a secret or asymmetric key. If you use a secret key, you must share it between the two services.
If you use an asymmetric key, you must provide the public key to Kong to validate the token.
With the JWT plugin, this redirection have to be handled by the client. If the API returns a 401 or 403 response (from Kong) then your client have to redirect to Keycloak by itself. If you are using a JS client you can use the JS Keycloak adapter to help you to handle this.
If you want to be redirected from Kong to Keycloak then you have to use the OpenID Connect plugin.
https://ncarlier.gitbooks.io/oss-api-management/content/howto-kong_with_keycloak.html
I don't know validation
1.Keycloak: generate token
2. Send token to Kong? I don't know check token in Kong. Please help me>?
The text was updated successfully, but these errors were encountered: