Authentication Keys
To configure the integration, it is necessary to receive OAuth 2.0 credentials. These are the client ID (client_id) and the client secret (client_secret).
client_id
The client_id is a public attribute that identifies your client in the system. This identifier should be used in front-channel flows (user's browser).
Characteristics:
- Public and can be exposed in frontend code
- Used in all authentication requests
- Unique for each client
client_secret
The client_secret is a confidential credential that must remain secret. It is used exclusively in back-channel connections (server to server).
⚠️ Important:
- Never expose the
client_secretin frontend code - Keep it secure on the server
- Use it only in server-to-server requests
- Do not share in public repositories or logs
Usage Example
javascript
const clientId = 'exampleclient';
const clientSecret = 'your_secret_here';Obtaining Credentials
Contact the Fanbase team to obtain your authentication credentials. Credentials will be provided after the initial integration setup.
