Generate SSO Token

Generate a temporary SSO token (signed URL) that redirects the user to the Jusoor Labs dashboard on the mobile application or website, based on the provided type key and user ID (UUID) sent by the partner system.

Generate the SSO Token

POST {Tenant endpoint}/api/v2/mirror-data/sso-token

Tenant endpoint example: yoursubdomain.jusoorlabs.com
Generate a signed URL to authenticate partner's users. This can be used for the mobile app or the website. Only one of uuid should be provided.
Note: uuid refers to the unique user identifier sent by your system.

Headers
Name Required Type Description
referer YES string The root of the application that is sending the request (your website at jusoorlabs.com).
accept YES string Always set as application/json.
token YES string The API token provided by Jusoor Labs.
Parameters
Name Required Type Description
uuid YES string uuid: The unique identifier of the user provided by the partner system.
type OPTIONAL string Either 'mobile' or 'website'. Defaults to 'website'.
lang OPTIONAL string Shortcut for the language you want (must exist on your Jusoor Labs website).