auth icon indicating copy to clipboard operation
auth copied to clipboard

Give an access to bearer token, aquired during authentication proccess

Open boryashkin opened this issue 3 years ago • 0 comments

In provider/oauth2 the AuthHandler func does receive a brearer-token, using which we could pontentially access a private API of identity provider. Wouldn't it be useful? Any concerns about adding some hook for this? That way go-pkgz/auth will be used as an authorization framework, allowing to setup a proxy to a private API without giving a client any direct access to bearer-token itself.

boryashkin avatar Jul 24 '22 08:07 boryashkin