Introduce Organization Access Tokens #4920
frankie567
started this conversation in
DX
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, we have two ways of authenticating through the API:
I believe most people integrating Polar use a PAT. The drawback with those is that they have to constantly repeat the
organization_id
when making requests.Since most of the integrations are likely targeted at a single Organization, I think it makes sense to introduce Organization Access Tokens, directly generated from the dashboard. The nice thing is that we can completely omit
organization_id
in all requests with those.We already have all the machinery to support this in our backend, so this is just a matter of introducing a table and endpoints to generate and store those tokens.
Beta Was this translation helpful? Give feedback.
All reactions