Body Parameters
Signed JWT issued by the external project containing user identity information
Response
Indicates whether the verification was successful
JWT access token for authenticating API requests
JWT refresh token for obtaining new access tokens
The verified or newly created user object
Error Responses
Missing JWT - 400 Bad Request
Missing JWT - 400 Bad Request
Missing Keys - 403 Forbidden
Missing Keys - 403 Forbidden
Invalid Token - 403 Forbidden
Invalid Token - 403 Forbidden
Project Mismatch - 403 Forbidden
Project Mismatch - 403 Forbidden
Unexpected Missing User - 500 Internal Server Error
Unexpected Missing User - 500 Internal Server Error
Server Error - 500 Internal Server Error
Server Error - 500 Internal Server Error
Notes
- The JWT is verified using the current or previous public key associated with the project.
- On success, a secure HttpOnly cookie (
replyke-refresh-jwt
) is set. - The user is updated or created based on
foreignId
and optionallyemail
. - Response includes tokens and user profile, including suspension info.