OIDC, how to send both access token and ID token for API calls? #9254
Unanswered
tamis-laan
asked this question in
Q&A
Replies: 1 comment
-
Don't, the ID token is intended for the client/app, not the API. The access token should contain the subject so the API should know who the user is. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I implemented OIDC with swagger ui:
openapi
index.html
This works and Auth0 gives me back a access token and an id token. I want to use these with my API to both access resources and identify the user (as to know which resources are specific to the user). The access token is already send along with the request in the Authorization header.
Now I also want swagger to send along the id_token. How do I do this?
Beta Was this translation helpful? Give feedback.
All reactions