curl --location --request POST 'https://naapsak.berkeugur.com/api/auth/apple' \
--header 'Content-Type: application/json' \
--data-raw '{
"identityToken": "eyJhbGciOiJSUzI1NiIs...",
"userId": "001234.a1b2c3d4e5f6...",
"email": "john.doe@privaterelay.appleid.com",
"firstName": "string",
"lastName": "string",
"userType": "regular"
}'
{
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"expiresIn": 3600,
"user": {
"email": "john.doe@example.com",
"password": "Password123!",
"fullName": "John",
"userType": "regular",
"phoneNumber": "+905551234567",
"birdthdate": "2019-08-24T14:15:22Z",
"gender": "other",
"country": "string"
}
}