You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 24, 2019. It is now read-only.
I have oauth2-proxy configured behind nginx, so I just see 502 bad gateway responses from nginx. Not sure what oauth2-proxy is serving (I imagine a 50X error)
A workaround we've been using is to clear the oauth2proxy auth cookie, and go sign in again. This takes you through the app authorization process again.
I would expect oauth2proxy instead to either:
redirect to the sign-in page to start the flow again or,
just jump straight into the authentication flow to authorize the app again.
In my particular situation, IT policy is to revoke access to my Google account for any applications which are not on an approved whitelist. Our application is not yet on the whitelist, so I see this often.
Well, I've been looking at it for a few minutes, and I'm not really sure (I've never worked with go before)
I see here in providers.google.redeemRefreshToken(...) there is a check for non-200 codes, and, I guess token and duration will be nil. So then up the callstack in RefreshSessionIfNeeded the err gets passed back up.
Specifically seeing this with the Google provider, not sure if it impacts other providers as well.
When oauth2-proxy tries to refresh the authentication token, if Google responds with
there is a
I have oauth2-proxy configured behind nginx, so I just see 502 bad gateway responses from nginx. Not sure what oauth2-proxy is serving (I imagine a 50X error)
A workaround we've been using is to clear the oauth2proxy auth cookie, and go sign in again. This takes you through the app authorization process again.
I would expect oauth2proxy instead to either:
In my particular situation, IT policy is to revoke access to my Google account for any applications which are not on an approved whitelist. Our application is not yet on the whitelist, so I see this often.
Relevant log entries:
The text was updated successfully, but these errors were encountered: