Single Sign-On (SSO)

<< Click to Display Table of Contents >>

Navigation:  Journalytix API >

Single Sign-On (SSO)

Single Sign On allows companies to provide a link from their website to Journalytix, bypassing the Journalytix login. The following conditions must apply.

This page presumes working knowledge of PHP Server Side Scripting.


The following parameters will be sent to the SSO URL.

- Username of company account

- Password of company (sent encrypted)

- Member email address (sent encrypted)


The validation rules are:

- Company password must be valid

- Member is assigned to the company and status Active

- Member must not be expired


The code to generate the encrypted URL is as follows (PHP 5.3 or above or Go):

PHP Code to generate encrypted URL for SSO

Go Code to generate encrypted URL for SSO


$apicode = Your generated API code.

$username = Company user name.

$password = Company password.

$memberemail = Traders email address.


$url can then be used on the page to link to the Journalytix Site. If the logon fails, then one of the following error codes will be returned:


Error Codes

03 - API Code Not Valid - API code sent was not valid.

04 - Invalid Company Login Details - Username or Password of company is invalid.

06 - Invalid User Details - User (Trader) details not found or not associated with this company.

07 - Unable To Login - Login process failed. User exists but failed login - possibly because of expiry dates or user not being active.

08 - User Not Active - User is not active (check the user on the Traders page).

09 - User Expired - User is expired, past end date (check the user on the Traders page).


You can test your API credentials on this page: