Redirect URI
The client must define, together with the Identity Provider, what their redirect URI (redirect_uri) will be. It determines the address to which authentication request responses will be directed.
Configuration
The redirect URI must be:
- HTTPS: Use secure protocol (except in local development environment)
- Specific: Must exactly match the URI configured in the system
- Accessible: The endpoint must be accessible and ready to receive requests
Example
https://example.com.br/callbackValidation
The system validates whether the URI provided in the authentication request matches one of the URIs registered for the client. If it does not match, the request will be rejected with the error:
error: "invalid_request"
error_description: "The informed URI does not match with any of the registered Client's URIs."Multiple URIs
It is possible to configure multiple redirect URIs for the same client. Contact the Fanbase team to configure additional URIs.
Development Environment
For local development, you can use:
http://localhost:3000/callbackMake sure this URI is registered in the staging environment.
