[#2534] added Instagram OAuth2 provider

Co-authored-by: Pedro Costa <550684+pnmcosta@users.noreply.github.com>
This commit is contained in:
Gani Georgiev
2023-05-23 22:37:44 +03:00
parent 728427cecf
commit a6bb1bf096
9 changed files with 107 additions and 4 deletions
+2
View File
@@ -129,6 +129,8 @@ func NewProviderByName(name string) (Provider, error) {
return NewOIDCProvider(), nil
case NameApple:
return NewAppleProvider(), nil
case NameInstagram:
return NewInstagramProvider(), nil
default:
return nil, errors.New("Missing provider " + name)
}