Ecomm Bridge Authentication
This page explains authentication for the get-purchases and process-returns endpoints of ecomm bridges.
OAuth 2.0 Client Credentials (Recommended)
How it works:
- You provide us during onboarding:
- OAuth Token URL
- Client ID
- Client Secret (encrypted at rest)
- We fetch an OAuth access token from your endpoint and cache it.
- API calls to your endpoints include:
text
Authorization: Bearer {access_token}
- Tokens are refreshed automatically before expiry.
OAuth token endpoint must return:
{
"access_token": "string",
"expires_in": 3600 // optional, seconds
}
Bearer Token Authentication
How it works:
- You provide us during onboarding:
- Bearer Token
- API calls to your endpoints include:
text
Authorization: Bearer {your_token}
- The token is sent with every request to authenticate your ecomm bridge endpoints.
This is a simpler authentication method where you provide a static token that we include in the Authorization header for all requests to your endpoints.
Questions? Ask our support team for help with onboarding or secure credential setup.