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.
At my organization we are using the oauth2_proxy to provide authentication via GitHub for internal sites.
One issue we ran into is that, when skipping the sign-in page to directly go to /oauth/start, the redirect URL that gets sent to the auth provider (in our case, GitHub) via the state query string parameter, is always set to "/".
Which ends up redirecting users to the root path after they have been authorized to access the page they requested (i.e. / instead of /internal-page).
Would it be reasonable to, instead of defaulting to "/", try and set the redirect variable to the path the user landed on when beginning the auth cycle, so that they can land back on the page they requested in the first place?