mirror of
https://github.com/OliveTin/OliveTin
synced 2026-10-08 09:21:28 +00:00
feature: OAuth2 Redirect URL
This commit is contained in:
1 parent
6a7187fb5b
commit
fb7e650267
2 files changed
+2
-1
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user