curl --request GET \
--url https://api.royalti.io/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://api.royalti.io/auth/social/providers \
--header 'Authorization: Bearer <token>'{
"providers": [
{
"provider": "google",
"connected": true,
"email": "<string>"
}
]
}const response = await fetch('https://api.royalti.io/auth/social/providers', {
method: 'GET',
headers: {
'Authorization': `Bearer ${token}`,
},
});
const data = await response.json();
console.log(data);