Skip to content

Commit f47968c

Browse files
committed
Fix google auth (#118)
1 parent 537876e commit f47968c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/web/env.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func (s *Server) SetupEnvironment(ctx context.Context) error {
2525

2626
if s.GoogleAuth.Enabled {
2727
goth.UseProviders(
28-
google.New(s.GoogleAuth.ClientKey, s.GoogleAuth.Secret, s.Url+"/auth/callback?provider=google", "email", "profile"),
28+
google.New(s.GoogleAuth.ClientKey, s.GoogleAuth.Secret, s.Url+"/user/auth/callback?provider=google", "email", "profile"),
2929
)
3030
} else {
3131
s.Logger.Info("no google auth enabled")

0 commit comments

Comments
 (0)