Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
eegli committed Mar 24, 2024
1 parent 692bf6b commit ff4c070
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/authorization.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ In order to access Spotify's data, you will need a dedicated Spotify application
After having created your application, click _edit_ and add the following two redirect URLs:

- `https://spotifly.nougat.dev/docs/authorization`
- `http://localhost:3000` (optional)
- `http://localhost:3000/docs/authorization` (optional)

:::info

Whitelisting the first URL enables you to create both short-lived access and long-lived refresh tokens directly on this page using the helper below.

The second URL is needed when you want to generate a long-lived token locally (_Authorization Code Flow_). You don't have to add it in your Spotify application. It's only needed when you want to use the `auth-token` package.
The second URL is needed when you want to generate a long-lived token locally. You don't have to add it in your Spotify application. **It's only needed when you want to use the `auth-token` package**.

:::

Expand Down

0 comments on commit ff4c070

Please sign in to comment.