feat: bootstrap twitter login config

This commit is contained in:
Lakhan Samani
2022-08-13 12:35:00 +05:30
committed by szczepad
parent 5f385b2016
commit 34ce754ef6
18 changed files with 289 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ type OAuthProvider struct {
FacebookConfig *oauth2.Config
LinkedInConfig *oauth2.Config
AppleConfig *oauth2.Config
TwitterConfig *oauth2.Config
}
// OIDCProviders is a struct that contains reference all the OpenID providers
@@ -133,5 +134,7 @@ func InitOAuth() error {
}
}
// TODO add support for twitter provider and update OAuthProviders.TwitterConfig
return nil
}