git.iko.soy/typeable/oauth2-proxy
on master help sign in
Merge pull request #101 from pusher/fix-callback-path

Revert OAuthCallbackPath

commitcfd1fd83bd7ee26345e043e38bf8db8d171bd0b2 authorJoel Speed <Joel.speed@hotmail.co.uk> dateTue 12 Mar 2019, 17:33 (8 years ago) parent056089be195a74
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,