curl --request POST \
--url https://{defaultHost}/v1/apps/{app_id}/auth_providers \
--header 'Authorization: Bearer <token>'{
"auth_provider": {
"id": "<string>",
"slug": "<string>",
"client_id": "<string>",
"client_secret": "<string>",
"enabled": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}Create or update an auth provider for the app
curl --request POST \
--url https://{defaultHost}/v1/apps/{app_id}/auth_providers \
--header 'Authorization: Bearer <token>'{
"auth_provider": {
"id": "<string>",
"slug": "<string>",
"client_id": "<string>",
"client_secret": "<string>",
"enabled": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}Was this page helpful?