git.iko.soy/typeable/oauth2-proxy
on master help sign in
Revert OAuthCallbackPath
commite195a74e26320cb8bb779bfe53d17f70e351a435 authorJoel Speed <Joel.speed@hotmail.co.uk> dateTue 12 Mar 2019, 16:46 (8 years ago) parent056089b
1 file changed+1−1
oauthproxy.go+1−1
oauthproxy.go+1−1
@@ -241,7 +241,7 @@ func NewOAuthProxy(opts *Options, validator func(string) bool) *OAuthProxy {
241241 SignInPath: fmt.Sprintf("%s/sign_in", opts.ProxyPrefix),
242242 SignOutPath: fmt.Sprintf("%s/sign_out", opts.ProxyPrefix),
243243 OAuthStartPath: fmt.Sprintf("%s/start", opts.ProxyPrefix),
244− OAuthCallbackPath: redirectURL.Path,
244+ OAuthCallbackPath: fmt.Sprintf("%s/callback", opts.ProxyPrefix),
245245 AuthOnlyPath: fmt.Sprintf("%s/auth", opts.ProxyPrefix),
246246
247247 ProxyPrefix: opts.ProxyPrefix,