Skip to main content
Polar is an OpenID Connect provider. OpenID Connect is a standard layer on top of OAuth 2.0: a Polar user signs in to your app, approves the scopes you ask for, and your app gets an access token to call the Polar API on their behalf. Do you need it? Only if you build an app or service for other Polar users, such as an analytics tool or an integration that manages their products. To integrate Polar into your own product, use an organization access token instead. It’s one token, with no sign-in flow.

How it works

  1. Create an OAuth 2.0 client to get a Client ID and Client Secret.
  2. Connect users: redirect them to Polar, exchange the returned code for tokens, and call the API.

Discovery

The discovery endpoint describes Polar’s OpenID Connect server, so compatible client libraries can configure themselves: Clients, users and tokens are separate per environment. Build against the sandbox first.

Learn more