Authorization Code + PKCE
OAuth and user consent
Request user-approved scopes without exposing app or user credentials to browser and mobile clients.
Register an exact callback
Add each HTTPS redirect URI in Developer Console. Jotify compares the complete callback string and does not allow wildcard hosts, fragments or production HTTP.
- Keep development and production callbacks separate.
- Never place tokens in the redirect URI.
- Rotate the app secret if it is exposed.
Authorize with PKCE S256
Create a high-entropy verifier, send only its SHA-256 base64url challenge, show the user the exact requested scopes and require explicit consent.

