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

Allow for sending the tokens to the upstream service #36

Closed
sevensolutions opened this issue Jan 3, 2025 · 0 comments
Closed

Allow for sending the tokens to the upstream service #36

sevensolutions opened this issue Jan 3, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@sevensolutions
Copy link
Owner

Because of the encrypted cookies it is not possible anymore to get the access token in the upstream service.
I want to add an option to allow the use to pass these tokens to the upstream.

I think i will combine the MapClaims-API with this feature. Maybe like this:

Current:

Headers:
  MapClaims:
    - Header: "Blah"
      Claim: "MyValue"      

New:

Headers:
  - Name: "Blah"
    FromClaim: "MyValue"
  - Name: "Authorization"
    FromToken: "Bearer {{AccessToken}}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant