Complete missing profile information after OAuth or partial signup. Updates user profile with required fields.
curl --request POST \
--url https://{deploymentHost}/auth/complete-profile \
--header 'Content-Type: application/json' \
--data '{
"first_name": "John",
"last_name": "Doe"
}'
{
"status": 200,
"message": "",
"data": {
"signin_attempts": [
{
"id": "123456789",
"method": "sso",
"completed": true,
"requires_completion": false,
"missing_fields": [],
"created_at": "2024-01-01T12:00:00Z"
}
],
"signins": [
{
"id": "987654321",
"user_id": "456789123",
"created_at": "2024-01-01T12:00:00Z"
}
],
"signup_attempts": [],
"active_signin": {
"id": "987654321",
"user_id": "456789123",
"created_at": "2024-01-01T12:00:00Z"
}
},
"session": {
"signin_attempts": [
{
"id": "123456789",
"method": "sso",
"completed": true,
"requires_completion": false,
"missing_fields": [],
"created_at": "2024-01-01T12:00:00Z"
}
],
"signins": [
{
"id": "987654321",
"user_id": "456789123",
"created_at": "2024-01-01T12:00:00Z"
}
],
"signup_attempts": [],
"active_signin": {
"id": "987654321",
"user_id": "456789123",
"created_at": "2024-01-01T12:00:00Z"
}
},
"errors": []
}
Session cookie authentication for production deployments. The session token is automatically set as an HTTP-only, secure cookie.
Profile completed successfully
The response is of type object
.
curl --request POST \
--url https://{deploymentHost}/auth/complete-profile \
--header 'Content-Type: application/json' \
--data '{
"first_name": "John",
"last_name": "Doe"
}'
{
"status": 200,
"message": "",
"data": {
"signin_attempts": [
{
"id": "123456789",
"method": "sso",
"completed": true,
"requires_completion": false,
"missing_fields": [],
"created_at": "2024-01-01T12:00:00Z"
}
],
"signins": [
{
"id": "987654321",
"user_id": "456789123",
"created_at": "2024-01-01T12:00:00Z"
}
],
"signup_attempts": [],
"active_signin": {
"id": "987654321",
"user_id": "456789123",
"created_at": "2024-01-01T12:00:00Z"
}
},
"session": {
"signin_attempts": [
{
"id": "123456789",
"method": "sso",
"completed": true,
"requires_completion": false,
"missing_fields": [],
"created_at": "2024-01-01T12:00:00Z"
}
],
"signins": [
{
"id": "987654321",
"user_id": "456789123",
"created_at": "2024-01-01T12:00:00Z"
}
],
"signup_attempts": [],
"active_signin": {
"id": "987654321",
"user_id": "456789123",
"created_at": "2024-01-01T12:00:00Z"
}
},
"errors": []
}