Skip to content

Add v3.x Login with Amazon (LwA) auth support#103

Merged
hakanensari merged 1 commit into
hakanensari:mainfrom
dkam:creators-api-v3
Mar 18, 2026
Merged

Add v3.x Login with Amazon (LwA) auth support#103
hakanensari merged 1 commit into
hakanensari:mainfrom
dkam:creators-api-v3

Conversation

@dkam

@dkam dkam commented Mar 15, 2026

Copy link
Copy Markdown
Contributor

Add support for v3.x Creators API credentials, which use Login with Amazon (LwA) instead of
Cognito for authentication.

Per the official docs, v3.x differs from v2.x in four ways:

  • Auth endpoints: LwA (api.amazon.com/auth/o2/token) instead of Cognito
    (creatorsapi.auth.*.amazoncognito.com)
  • Request format: JSON body with client_id/client_secret instead of form-encoded with Basic
    Auth
  • Scope: creatorsapi::default (double colon) instead of creatorsapi/default
  • Auth header: Bearer only — no Version suffix

New version endpoints:

  • 3.1 NA (US, CA, MX, BR) → api.amazon.com/auth/o2/token
  • 3.2 EU (UK, DE, FR, etc.) → api.amazon.co.uk/auth/o2/token
  • 3.3 FE (JP, SG, AU) → api.amazon.co.jp/auth/o2/token

The API endpoint (creatorsapi.amazon/catalog/v1) and request payload format remain the same
across all versions.

v3.x credentials use different auth endpoints (api.amazon.com/co.uk/co.jp),
JSON request bodies with client_id/client_secret, scope "creatorsapi::default"
(double colon), and Bearer token without version suffix.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@hakanensari

Copy link
Copy Markdown
Owner

Thanks @dkam

@hakanensari hakanensari merged commit c233ca7 into hakanensari:main Mar 18, 2026
4 checks passed
@imadoki

imadoki commented Apr 20, 2026

Copy link
Copy Markdown

Hello @hakanensari
Are there any plans for a new release soon including this change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants