Spotify.NET/SpotifyAPI.Docs/docs/auth_introduction.md
Nova 300c51db3c
Minor fixes for comprehesion (#507)
Fixed capitalization, spelling, grammar, added gender-neutral language
2020-09-16 09:13:21 +02:00

24 lines
1.1 KiB
Markdown

---
id: auth_introduction
title: Introduction
---
import useBaseUrl from '@docusaurus/useBaseUrl';
Spotify does not allow unauthorized access to the API. Thus, you need an access token to make requests. This access token can be gathered via multiple schemes, all following the OAuth2 spec. Since it's important to choose the correct scheme for your usecase, make sure you have a grasp of the following terminology/docs:
- OAuth2
- [Spotify Authorization Flows](https://developer.spotify.com/documentation/general/guides/authorization-guide/#authorization-code-flow)
Since every auth flow also needs an application in the [Spotify dashboard](https://developer.spotify.com/dashboard/), make sure you have the necessary values (like `Client Id` and `Client Secret`).
Then, continue with the docs of the specific auth flows:
- [Client Credentials](client_credentials.md)
- [Implicit Grant](implicit_grant.md)
- [Authorization Code](authorization_code.md)
- [PKCE](pkce.md)
- [(Token Swap)](token_swap.md)
<img alt="auth comparison" src={useBaseUrl('img/auth_comparison.png')} />