curl --request POST \
--url https://sgjm-api.vohoangphuc.com/v1/auth/google/register \
--header 'Content-Type: application/json' \
--cookie auth_token= \
--data '
{
"companyName": "<string>",
"email": "jsmith@example.com",
"country": "<string>",
"phoneNumber": "<string>",
"city": "<string>",
"address": "<string>"
}
'{
"success": true,
"message": "<string>",
"data": {}
}Completes company registration using Google OAuth. Requires temp_token cookie from Google callback.
curl --request POST \
--url https://sgjm-api.vohoangphuc.com/v1/auth/google/register \
--header 'Content-Type: application/json' \
--cookie auth_token= \
--data '
{
"companyName": "<string>",
"email": "jsmith@example.com",
"country": "<string>",
"phoneNumber": "<string>",
"city": "<string>",
"address": "<string>"
}
'{
"success": true,
"message": "<string>",
"data": {}
}JWE token stored in HttpOnly cookie