Repository navigation
Validate JWT token in Keycloak server without login page #15881
rcbandit111
started this conversation in
Archive
Replies: 1 comment
|
Obtaining these tokens is possible using the client credentials grant (see https://datatracker.ietf.org/doc/html/rfc6749#section-4-4). In Keycloak this feature is called "service account", see https://www.keycloak.org/docs/latest/server_admin/#_service_accounts. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I want to use Keycloak server with Spring Gateway. In my case I have a API to API communication (Server to Server) communication which I would like to protect using JWT token.
The question is how I can use Keycloak Authorization server to generate and validate JWT token having in mind that I don't have a login page. I need to:
Generate JWT using Keycloak API because I want to generate the JWT token from a customer portal page and put some custom data into JWT token payload.
When API request is send to Spring Gateway I want to validate the JWT token into Keycloak server.
Is this functionality possible with Spring gateway and Keycloak server?
All reactions