requires_verification will be true.curl --location '/api/v1/auth/login' \
--header 'Content-Type: application/json' \
--data-raw '{
"auth": {
"email": "john.doe@example.com",
"password": "SecurePass123"
},
"device_info": {
"device_id": "550e8400-e29b-41d4-a716-446655440000",
"device_name": "iPhone 15 Pro",
"device_type": "mobile",
"fcm_token": "dKJ8f3kL9m:APA91bH...",
"platform": "ios"
}
}'{
"success": true,
"data": {
"message": "Login successful",
"user": {
"id": 1,
"email": "john.doe@example.com",
"full_name": "John Doe",
"phone": "+6281234567890",
"role": "institution",
"confirmed": true,
"status": "active"
},
"tokens": {
"access_token": "eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJkZXZpY2VfdG9rZW4iOiJhYmMxMjMiLCJleHAiOjE3MzM1NzYwMDAsImlhdCI6MTczMzU3NTEwMCwidHlwZSI6ImFjY2VzcyJ9.xxxxx",
"refresh_token": "8f14e45fceea167a5a36dedd4bea2543",
"expires_in": 900,
"token_type": "Bearer"
}
}
}