{% extends 'base.html' %} {% block title %}Direct Spotify Authentication{% endblock %} {% block content %}
Use a manual bearer token to access the Spotify API directly.
{% if spotify_user %}You are currently authenticated as {{ spotify_username }} (ID: {{ spotify_user }}).
{{ error }}
{{ success }}
Go to the Spotify Developer Console
You'll need to log in with your Spotify account
Select any API endpoint (e.g., "Get Current User's Profile")
The specific endpoint doesn't matter, we just need to generate a token
Click the "Get Token" button
Make sure to select the following scopes:
Copy the generated OAuth token (it starts with "BQ...")
Paste the token in the form below and click "Authenticate"
You're authenticated and can now use the direct Spotify client.