bitly / oauth2_proxy

A reverse proxy that provides authentication with Google, Github or other provider
MIT License
5.1k stars 1.21k forks source link

optionally expose the access token in a response header #627

Closed bodewig closed 6 years ago

bodewig commented 6 years ago

This is similar to what #621 does to the id_token but exposes the access_token.

Use case is an nginx with auth-request that wants to make the access token available to the resource server "behind" the nginx.

ploxiln commented 6 years ago

and very similar to #424 ;)

bodewig commented 6 years ago

argh, sorry about that. I did look for open issues and PRs before I started working on this but missed #424.

Maybe the testcase of this PR could be adapted and added to #424 ?

I'll close this one as there is little reason to add more noise to an already long list of PRs.