red-machine-69654
02/03/2023, 3:43 PM<https://x-auth-token>:JWT@my.oathkeeper/
?magnificent-energy-493
red-machine-69654
02/03/2023, 10:14 PM<https://oathkeeper/git-repo.git>
I am doing the following request:
git -c http.extraheader="Authorization: bearer XXX" push -v myremote main
So whenever I do this, git transforms this to the following URL: <https://user:XXX@oathkeeper/git-repo.git>
This is similar to what github allows when clone/pushing with a PAT (personal access token).
Now I can't figure out how I can configure oathkeeper to take the token from the URL (instead of a header).
The config available is (`authn`pipeline):
bearer_token:
token_from:
But that "only" allows for header, cookie or query_parameter.
Maybe I am looking for the wrong method though. So any more advice?magnificent-energy-493
worried-kitchen-94392
02/06/2023, 8:27 AMred-machine-69654
02/06/2023, 8:38 AM