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

Add query param to backend requests #69

Closed
filex opened this issue Nov 23, 2020 · 0 comments · Fixed by #73
Closed

Add query param to backend requests #69

filex opened this issue Nov 23, 2020 · 0 comments · Fixed by #73
Assignees
Labels
spec feature specification theme/config
Milestone

Comments

@filex
Copy link
Contributor

filex commented Nov 23, 2020

My upstream systems needs an authorization token to be passed as a query parameter. Let's call it token=….

I configure an /upstream/** endpoint and route all requests to a backend configuration. As of now, all client requests hitting /usptream will be passed unchanged to the backend (except for the path being changed by /**).

The token is an authorization mechanism that I want to implement in couper. Maybe I will extract it from a cookie, an arbitrary header or a JWT token. Now I am looking for a way to add it as a query parameter on every upstream request.

@malud malud added spec feature specification theme/config labels Nov 23, 2020
@malud malud added this to the 0.3 milestone Dec 2, 2020
@malud malud linked a pull request Dec 4, 2020 that will close this issue
@malud malud closed this as completed in #73 Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spec feature specification theme/config
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants