Generate SSO Token

Generate an SSO token (temporary signed URL) that redirects the user to the Jusoorlabs dashboard on the (mobile application or website) based on the "type" key and the user ID provided in the request.

Generate SSO Token to authenticate partner's users (mobile application or website)

{Tenant endpoint}/sso-token

type :

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 the basic accept header (always send it as application/json)
token YES string The token provided to you once you've registerd with Jusoor Labs API.
parameters
Name required type description
user_id
OR
jusoor_id
YES string | integer The user_id is the identifier for the user on the partner's system.
The jusoor_id is the identifier for the user on the Jusoor system.
Only one of user_id or jusoor_id should be provided.
type OPTIONAL string The type must be either 'mobile' or 'website', if no value is provided, the default will be 'website'.
lang OPTIONAL string shortcut of language you want (note that the language must be created in your jusoorlabs website)