Oauth
Create an OAuth provider
Add a new OAuth provider for a user.
post/oauth-providers
Request body
Example request
{
"user_id": "3241a285-8329-4d69-8f3d-316e08cf140c",
"email": "test@gmail.com",
"allow_sign_in": true,
"allow_connected_accounts": true,
"account_id": "google-account-id-12345"
}Response
Successful response
Example response
{
"account_id": "google-account-id-12345",
"user_id": "3241a285-8329-4d69-8f3d-316e08cf140c",
"id": "b3d396b8-c574-4c80-97b3-50031675ceb2",
"email": "test@gmail.com",
"provider_config_id": "google",
"type": "google",
"allow_sign_in": true,
"allow_connected_accounts": true
}