Enhanced Authentication
A reference of the endpoints available for Spectrum's authentication, which is based on the OAuth client credentials flow.
- client_id: found in Data Exchange installation screen.
- client_secret: found in Data Exchange installation screen.
- scope: spectrumapi
- grant_type: client_credentials
/connect/token
Required fields:
- client_id: found in Data Exchange installation screen.
- client_secret: found in Data Exchange installation screen.
- scope: spectrumapi
- grant_type: client_credentials
Returns:
- access_token: Is used to call Spectrum API as an Authentication bearer token.
- expires_in: duration the bearer token is valid.
- token_type: Bearer
- scope: spectrumapi
Example:
/secretRotation
Required fields:
- client_id: found in Data Exchange installation screen.
- client_secret: found in Data Exchange installation screen.
- scope: spectrumapi
- grant_type: client_credentials
Returns:
- client _secret: Updated secret that can be used to pull a bearer token.
- estimated_expiration: Estimated expiration date based on current Spectrum settings.
Example: