Authentication

You'll need to authenticate your requests to access any of the endpoints in Aurora Credit. In this guide, we'll look at how authentication works. We offer a single way to authenticate your API requests: OAuth2 - with client credentials

OAuth2 with bearer token

When establishing a connection using OAuth2, you will need your client_id and client_secret — you will find it in the Protocol dashboard under API settings. Here's how to add the token to the request header using cURL:

Example request with bearer token

curl https://api.aurora.stacc.dev/api/start \
  -H "Authorization: Bearer {token}"

Always keep your credentials safe and reset it if you suspect it has been compromised.

Was this page helpful?