authenticated (boolean): Indicates if the user is authenticated.
oauth (object): Contains OAuth token information.
access_token (string): The access token for OAuth.
refresh_token (string): The refresh token for OAuth.
expires_at (string): The expiry timestamp for the token.
token_type (string): The type of token.
user (object): Contains user information.
created_at (string): Timestamp of user creation.
updated_at (string): Timestamp of user information update.
issuer (string): The issuer of the user.
user_id (string): The user ID.
identifier (string): The user identifier.
email (string): The user's email address.
last_login_at (string): Timestamp of the user's last login.
Response Status Code
200 OK: Magic link sent successfully.
400 Bad Request: Invalid request.
500 Internal Server Error: An error occurred while processing the request.
Request
Query Params
client_id
string
required
This identifies the application making the request to the SSOJET server. You can find your client ID on the API Keys page in the dashboard
Example:
string
state
string
required
The state parameter is used to track the status of a user authencation in the REST API. It helps in maintaining the user authencation context and monitoring its progress throughout the request lifecycle