-
Notifications
You must be signed in to change notification settings - Fork 30
Description
Describe the feature request?
Due to how the server infrastructure is done, it is not possible to use jwt-java-verifier library to validate the ID token/ access token on backend side since it is doing a call to okta to fetch the current public key to validate the tokens. I can't target any external API from backend side without months of setup to be done.
I am currently looking for a way to, maybe, fetch the key from front end since it seems to be a public key and send it to the backend to be able to validate the tokens. Would there be any security issue?
If no security issues, how could I simply retrieve the key from the frontend to send to the backend? I explored the different methods accessible through OktaAuth service but the method getKey is not directly accessible from it.
Thanks and best regards
New or Affected Resource(s)
NA
Provide a documentation link
No response
Additional Information?
No response