Forward OIDC id_token to backends #3767
brianehlert
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
@shawnhankim since you contributed Access Token forwarding, are there other considerations or details that need to be added here? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Enhance the OIDC Policy object to include the option to forward the ID token to the backend.
This would result in two token forwarding options: one for the access token (existing) and one for the ID token.
The proposal for the Policy change would look like this:
This is implemented using the OIDC reference implementation and involves saving the oidc_id_token and adding it to the headers for the backend servers to intercept.
Similar to the PR that enabled access token: #3474
What needs to be forwarded appears to be the $session_jwt from here: https://github.com/nginxinc/nginx-openid-connect/blob/74948ce512e199ca6189fe75bbb2b52fcdbd0148/openid_connect_configuration.conf#L95
Beta Was this translation helpful? Give feedback.
All reactions