feature: OAuth2 Redirect URL

This commit is contained in:
jamesread authored and James Read committed 2024-10-14 09:25:21 +01:00
1 parent 6a7187fb5b
commit fb7e650267
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -69,7 +69,7 @@ func getOAuth2Config(cfg *config.Config, providerName string) (*oauth2.Config, e
AuthURL: providerConfig.AuthUrl,
TokenURL: providerConfig.TokenUrl,
},
RedirectURL: "http://localhost:1337/oauth/callback",
RedirectURL: cfg.AuthOAuth2RedirectURL,
}
registeredProviders[providerName] = config