Reward Store API Documentation

Single Sign On

Performing the Single Sign On

GET /sso/{Recipient: ID, Email, Public key}

Call this endpoint to retrieve the URL that will log in the recipient. Simply redirect the recipient to this URL.
Please note the generated URL expires 5 minutes after requesting, once expired a new URL will need to be requested.

JSON
HTTP Status 200 OK
{
    "url": "https:\/\/xxxxxx.reward-store.co.uk\/ssogateway\/7H1fUQtAImvvdeKgtfgo5XtURrFccUe1Icwl4hioIErbpgNyTrm6ow989UTXoAWOllgtKtNXJWvxtnlfoSnwjb4oXaMOhXnp8P02nr1fFJQZsdahcsIwkNSPvn5iUG5l",
    "expires": "2020-05-01 13:09:56"
}

If the recipient does not exist or is not active, you will instead receive a 404 Not Found response:

JSON
HTTP Status 404 Not Found
{
    "message": ""
}