Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Response
Redirect to Facebook OAuth consent screen
curl --request GET \
--url https://api.royalti.io/auth/facebook \
--header 'Authorization: Bearer <token>'This response does not have an example.Initiates the Facebook OAuth login flow. Users will be redirected to Facebook’s login page.
curl --request GET \
--url https://api.royalti.io/auth/facebook \
--header 'Authorization: Bearer <token>'This response does not have an example.const response = await fetch('https://api.royalti.io/auth/facebook', {
method: 'GET',
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Redirect to Facebook OAuth consent screen