ADocumentation Index
Fetch the complete documentation index at: https://docs.natecosmic.com/llms.txt
Use this file to discover all available pages before exploring further.
redirect_uri is your app’s callback URL in OAuth. After the user signs in and approves access, COSMIC sends the browser back to this URL with either a code or an OAuth error.
What to register
Register every callback URL your app will use in the developer portal, including separate values for local, staging, and production when applicable.The
redirect_uri sent in the authorize request and token request must exactly match one registered value, including scheme, host, path, query string, and trailing slash.Example client callback
Requirements
- Use HTTPS callback URLs for non-local environments.
- Register callback URLs in the developer portal before users run OAuth.
- Send the same
redirect_uriin authorize and token exchange requests.

