This endpoint requires authentication. Include your Bearer token in the Authorization header.
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Response
List of connected social providers
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/auth/social/providers \
  --header 'Authorization: Bearer <token>'{
  "providers": [
    {
      "provider": "google",
      "connected": true,
      "email": "<string>"
    }
  ]
}Retrieve a list of social providers connected to the current user’s account
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/auth/social/providers \
  --header 'Authorization: Bearer <token>'{
  "providers": [
    {
      "provider": "google",
      "connected": true,
      "email": "<string>"
    }
  ]
}const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/auth/social/providers', {
  method: 'GET',
  headers: {
    'Authorization': `Bearer ${token}`,
  },
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
List of connected social providers
Show child attributes