Replies: 5 comments 2 replies
-
/cc @sberyozkin (jwt) |
Beta Was this translation helpful? Give feedback.
-
Hi @sberyozkin thank you very much for your response. I attach the document of what they are requesting from me, to see if I understand it more clearly, since explaining it here can be complicated. Thank you very much for the help and if you can guide me how to solve |
Beta Was this translation helpful? Give feedback.
-
Basically it is asking me for an authenticator using JWT in which the following claims must be sent in the signed jwt: Header:
Payload:
The iss, sub, jti fields that come in the signed JWT must be validated |
Beta Was this translation helpful? Give feedback.
-
@cesarjv This document outlines a complete architecture, it looks like 3 distinctive steps are involved
To address the point 1, you need to use https://quarkus.io/guides/security-jwt-build, it is very easy to use, you only need to figure which key to use, secret key (as per your example which mentions Now that you have the client creadentials assertion token you can use See also https://quarkus.io/guides/security-openid-connect-client-reference#oidc-client-authentication, Steps 2, 3 can be dealt with later. For now, please get past Step 1. Generate a token using https://quarkus.io/guides/security-jwt-build, |
Beta Was this translation helpful? Give feedback.
-
Hi @sberyozkin I will start working on it and I will be telling you the results here, thank you very much for giving me an idea to start. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Good afternoon, I am currently in a project in which it is required to configure authentication with JWT but in this case the header and payload configuration is required as follows:
Header:
Payload:
My question is, can I implement this in Quarkus with JWT, since until now I have seen examples but very simple, not with a custom payload and I have not found many examples like that and I don't know where to start.
I also need to implement a JWKS Endpoint to validate the token in question, ruling out the option of a private and public certificate.
Beta Was this translation helpful? Give feedback.
All reactions