[#2762] added Yandex OAuth2 provider

Co-authored-by: Valentine <xb2w1z@gmail.com>
This commit is contained in:
Gani Georgiev
2023-06-23 14:13:43 +03:00
parent 0a61db6efd
commit 435eca6f35
39 changed files with 152 additions and 37 deletions
+2
View File
@@ -133,6 +133,8 @@ func NewProviderByName(name string) (Provider, error) {
return NewInstagramProvider(), nil
case NameVK:
return NewVKProvider(), nil
case NameYandex:
return NewYandexProvider(), nil
default:
return nil, errors.New("Missing provider " + name)
}