Authenticator bearer_token token_from query_parameter does not forward token to check_session_url if preserve_path: true #786
Labels
feat
New feature or request.
good first issue
A good issue to tackle when being a novice to the project.
help wanted
We are looking for help on this one.
Describe the bug
The bearer_token authenticator does only forward request method/path/headers. If preserve_path is set to true then the query_parameter will not get forwarded as the url is replaced by the check_session_url.
Reproducing the bug
Steps to reproduce the behavior:
Using Oathkeeper according to the example in the documentation.
Expected behavior
If preserve_path is set to true then the query_parameter should be appended to the check_session_url in the request.
Example:
https://session-store-host/check-session?auth-token=xxx
Environment
The text was updated successfully, but these errors were encountered: