fix: apple client secret field

This commit is contained in:
Lakhan Samani 2022-06-14 11:11:09 +05:30
parent 7edfad3486
commit e467b45ab1

View File

@ -124,7 +124,7 @@ func InitOAuth() error {
if appleClientID != "" && appleClientSecret != "" {
OAuthProviders.AppleConfig = &oauth2.Config{
ClientID: appleClientID,
ClientSecret: appleClientID,
ClientSecret: appleClientSecret,
RedirectURL: "/oauth_callback/apple",
Endpoint: oauth2.Endpoint{
AuthURL: "https://appleid.apple.com/auth/authorize",