POST
/v1/auth/enchantedlink/pending-session
Poll user session for successful completion of token verification
This endpoint is used to wait for the enchanted link verification by the end user.
Use this endpoint in a poling way, until it returns a successful JWT, or timeout error.
The response object includes the session JWT sessionJwt
and refresh JWT refreshJwt
when this endpoint completes successfully.
See Also
- See Enchanted link Authentication for details about implementing enchanted links.
Endpoint Authentication
Use authorization bearer header with the following format:
Authorization: Bearer \<Project ID\>
Authorization
Authorization
RequiredBearer <token>
In: header
Request Body
pendingRef
string
Status code | Description |
---|---|
200 | OK |
Was this helpful?