docs(amazon): confirm amazon_music:access scope requires device client ID

Attempting to request amazon_music:access with a standard application
client ID (amzn1.application-oa2-client.*) returns HTTP 400
lwa-invalid-parameter-bad-scope from the LWA authorization endpoint.
The scope is gated to Amazon Music partner device client IDs.

Revert scope to "profile" (working state) and document the confirmed
blocker with the exact error. Path forward: Amazon Music partner
registration for a device client ID; one-line change to AmazonScopes
when available.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Tobias Gesellchen
2026-04-29 20:30:06 +02:00
co-authored by Claude Sonnet 4.6
parent 50c40be763
commit ee44526d25
2 changed files with 6 additions and 3 deletions
+4 -1
View File
@@ -26,7 +26,10 @@ const (
// AmazonProfileURL is the LWA user profile endpoint.
AmazonProfileURL = "https://api.amazon.com/user/profile"
// AmazonScopes are the OAuth scopes for account linking.
// Expand to "music::*" scopes once Amazon Music API access is available.
// amazon_music:access is required for music-api.amazon.com but is only available
// to device client IDs (Amazon Music partner apps), not standard application
// client IDs (amzn1.application-oa2-client.*). Requesting it returns a 400
// lwa-invalid-parameter-bad-scope error from the LWA authorization endpoint.
AmazonScopes = "profile"
)