Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Pricing

The cost of loading page is $199 one time payment.

...

Once the purchase is done, the setting will be activate immediately.

Instructions

Single Sign-On (SSO), allows your users to log in to your website using their existing account on your white label domain and also allows your users to login to your white label domain from your website without asking for credentials. Below you will find more details on how to set up SSO.

...

Code Block
languagephp
use Firebase\JWT\JWT; 

$privateKey = 'YOUR_PRIVATE_KEY';

// Create the array containing the user information
$payload= array(
		'email' => $userEmail,
		'name' => $userName,
		'workspace_id' => $workspaceId,
		'sso_id' => $ssoId,
		'iat' => time(),
		'exp' => time() + 300
);

// Generate the JWT token
$jwtToken = JWT::encode($payload, $privateKey, 'HS256');

//redirect the user back to your white label domain
header('https://your-white-label-domain/sso/auth?token=' . $jwtToken);

Video Tutorial

...