OAuth Providers
Logo for amazon-sellerAmazon Seller Central
Obtain access tokens to Amazon Seller Central accounts with Handshake.

How it works

With your instance deployed, simply redirect users to:


Where HANDLER_ID is either amazon-seller or the value passed to the optional id argument of the AmazonSeller() factory. (See Usage below.)

Handshake will take the user through the Amazon Seller Central OAuth flow and redirect them back to the URL specified by the callback_uri query parameter.


Modify your app/options.ts file to include the AmazonSeller() handler like so:

import { HandshakeOptions, Amazon } from "handshake";
const options: HandshakeOptions = {
  handles: [
      appId: string,
      clientId: string,
      clientSecret: string,
      isDraftApp: true | false,
  // ...

Consult the reference to learn about HandshakeOptions.


Need to "set up your “Authorize” buttons so that selling partners are redirected to the Seller Central (for sellers) or Vendor Central (for vendors) sign-in page for their own region."

No localhost redirect

Amazon does not allow setting localhost as a redirect_uri . You may want to use Ngrok or another service to provide a publicly addressable URL.


Error Code: MD5101

This means unauthorized redirect URI. localhost URIs are allowed.

Developer Central – "You do not have permissions to view this page"

FYI. Only the primary user of the Seller Central account is able to create and modify apps via the "Developer Central" page.


Not setup for OAuth

Error shows up when OAuth hasn't been enabled for application

Error shows up when OAuth hasn't been enabled for application

Having an issue not included here? Open an issue in our Github repo to get help from our team.