Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Is there a way to access the keycloak token after it was verified? #145

Closed
StefanKern opened this issue Jan 17, 2023 · 1 comment
Labels
Type: Question Further information is requested

Comments

@StefanKern
Copy link

Background: We are having a a backend with a lot of "microservices" and each of those services is protected via keycloak as well. Now I can get the "Authorization" key via the @Request() but the further I go away from the original method the more tedious it gets to access the token.
Now since we are also using nest-keycloak-connect we where wondering if there was a way to access the token from it. Something similar to the keycloak.getToken() from https://www.npmjs.com/package/keycloak-angular.
Is there a way to do this?

@ferrerojosh
Copy link
Owner

As of now there isn't a way. It can be made possible I think.

@ferrerojosh ferrerojosh added the Type: Question Further information is requested label May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants