Skip to content

Commit

Permalink
Fix google auth (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
mraron committed Aug 24, 2024
1 parent 537876e commit f47968c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/web/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func (s *Server) SetupEnvironment(ctx context.Context) error {

if s.GoogleAuth.Enabled {
goth.UseProviders(
google.New(s.GoogleAuth.ClientKey, s.GoogleAuth.Secret, s.Url+"/auth/callback?provider=google", "email", "profile"),
google.New(s.GoogleAuth.ClientKey, s.GoogleAuth.Secret, s.Url+"/user/auth/callback?provider=google", "email", "profile"),
)
} else {
s.Logger.Info("no google auth enabled")
Expand Down

0 comments on commit f47968c

Please sign in to comment.