Skip to content

Commit ff7ebcd

Browse files
author
Kadi Kraman
committed
Update redirect uri for sportify example
1 parent 1ed50aa commit ff7ebcd

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/config-examples/spotify.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
# Spotify
22

3-
If you don't already have a slack app, create it [here](https://developer.spotify.com/dashboard/applications).
3+
If you don't already have a spotify app, create it [here](https://developer.spotify.com/dashboard/applications).
44

5-
Open your app, go to settings and add a redirect uri, e.g. `com.myapp://oauth`.
5+
Open your app, go to settings and add a redirect uri, e.g. `com.myapp:/oauth`.
6+
7+
Note: iOS redirect on Spotify only works with one `/`.s
68

79
```js
810
const config = {
911
clientId: '<client_id>', // available on the app page
1012
clientSecret: '<client_secret>', // click "show client secret" to see this
11-
redirectUrl: 'com.myapp://oauth', // the redirect you defined after creating the app
13+
redirectUrl: 'com.myapp:/oauth', // the redirect you defined after creating the app
1214
scopes: ['user-read-email', 'playlist-modify-public', 'user-read-private'], // the scopes you need to access
1315
serviceConfiguration: {
1416
authorizationEndpoint: 'https://accounts.spotify.com/authorize',

0 commit comments

Comments
 (0)