S256). There is no client secret.
Endpoints
All of them are on the app host,https://app.stockshift.io.
The flow
1
Register your app
Register once with your app’s name and redirect URIs. The answer holds your
client_id.2
Send the member to the consent page
Make a code verifier and its
S256 challenge, then open /oauth/authorize with your client_id, redirect_uri, the scope you want, a state and the code_challenge.The member signs in, picks the organization and chooses what your app may do, module by module. See is on and Change is off to begin with, and they can offer only what their own permissions allow. An app anyone can register shows an Unverified app badge.3
Swap the code for tokens
StockShift sends the member back to your redirect URI with a
code, or with error=access_denied if they pressed Deny. Post the code and your code verifier to /oauth/token.4
Call the API
Send the access token as
Authorization: Bearer <token>, as you would an API key.