Single Sign-On

BookingBug single sign-on (SSO) enables you use the existing authentication on your website with a booking widget, avoiding the need for customers to enter another password when they want to view, modify or cancel their bookings. You will need a BookingBug affiliate account to obtain a secure key to use for the SSO token generation.

The typical method for using the single sign-on token is to wrap the widget with a member-sso-login directive:

<div member-sso-login="{Generated SSO Token}">
  <div bb-widget="{company_id: '{Your Company ID}'}"></div>
</div>

Token Generation Code Samples

To use the code samples below you will need your affiliate ID and secure key. These can be found by logging into your affiliate account and going to ‘Account Details’.

C#

Ruby

Java