We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a1fb1b commit ec53484Copy full SHA for ec53484
lib/authProviders.js
@@ -73,7 +73,18 @@ export const authProviders = {
73
client_id: [notEmpty],
74
client_secret: [notEmpty]
75
})
76
- }
+ },
77
+ 'spotify': {
78
+ auth_version: "2.0",
79
+ authorize_url: 'https://accounts.spotify.com/authorize',
80
+ api_url: 'https://api.spotify.com/',
81
+ callback_url: ({app_name}) => `${app_name}://authorize`,
82
+
83
+ validate: validate({
84
+ client_id: [notEmpty],
85
+ client_secret: [notEmpty]
86
+ })
87
88
}
89
-export default authProviders;
90
+export default authProviders;
0 commit comments