Single Sign On (SSO) enables your users to auto-login on when they're already logged into your online portal. Your system will need to let know which user is currently logged into your site, in a secure manner.

To accomplish this, our widgets provides a set of basic methods and handlers, outlined below:


  • SSO implementation only works when widgets are embedded using JavaScript. It won't work for iFrame embeds.

  • This feature is available only for Enterprise plans, please contact your Account Manager so they can enable it for you.

Step 1: Wait for the SSO to be ready

You must wait for the Arena SSO to be ready using the listener below. After the API is ready, it will call the startArenaSSO function.

if (window.arenaSSO) { 
} else {

Step 2: Initialize the SSO

To initialize the Arena SSO, you have to define the startArenaSSO function and within that function, a call to window.arenaSSO.initialize method. In the initialize function you have to call your sign in and sign out respective functions. Also, you can provide the logged user information by calling the Arena SSO authenticate method, as in the example below:

New: In customProps it is possible to add the desired custom value considering the key/value. Initially designed for the Location field.

function startArenaSSO() {
// Called when the user clicks on sign in in an Arena Widget
signIn: () => { /* call your sign in function */ },
// Called when the user clicks on sign out in an Arena Widget
signOut: () => { /* call your sign out function */ },

// Provide the logged user to Arena SSO
id: "2345",
email: "[email protected]",
picture: "",
name: "Kristin Mckinney",
customProps: [{
label: 'city',
value: 'Paris',
label: 'country',
value: 'France',

Step 3: Call Authenticate and Sign out Methods

On your website, when you finish authenticating the user, you have to inform the user's information to the Arena SSO. Check the example below:

// Provide the logged user to Arena SSO
id: "2345",
email: "[email protected]",
picture: "",
name: "Kristin Mckinney"

Arena SSO will create the user profile if it's the first time or just return their information if it's not the first time.

And when your user sign out, you have to call the Arena SSO method signOut, as in the example bellow.

// Sign out the user on Arena SSO

That's all that needs to be done and as always let us know if you have any questions or suggestions regarding the Single Sign On integration.

Did this answer your question?