diff --git a/api/oauth_google.go b/api/oauth_google.go index 3a7a519..026f848 100644 --- a/api/oauth_google.go +++ b/api/oauth_google.go @@ -27,7 +27,7 @@ func googleOauthConfigure() error { logger.Infof("loading Google OAuth config") googleConfig = &oauth2.Config{ - RedirectURL: os.Getenv("BACKEND_WEB") + "/oauth/google/callback", + RedirectURL: os.Getenv("ORIGIN") + "/api/oauth/google/callback", ClientID: os.Getenv("GOOGLE_KEY"), ClientSecret: os.Getenv("GOOGLE_SECRET"), Scopes: []string{