[#887] added Spotify OAuth2 provider

This commit is contained in:
Olle Månsson
2022-11-01 16:06:06 +01:00
committed by GitHub
parent 9cef6ebd82
commit 639522b142
35 changed files with 121 additions and 35 deletions
+2
View File
@@ -97,6 +97,8 @@ func NewProviderByName(name string) (Provider, error) {
return NewTwitterProvider(), nil
case NameMicrosoft:
return NewMicrosoftProvider(), nil
case NameSpotify:
return NewSpotifyProvider(), nil
default:
return nil, errors.New("Missing provider " + name)
}