Learn how to integrate your cloud ebook or library with Google, for a better user login experience.

What is Google SSO

Google provides secure SSO (Single Sign-On) on the cloud, linking all your apps, logins, and devices into a unified space. It gives access to many applications with a single login.

After enabling Google SSO, Google users will be able to seamlessly log into your library or cloud ebook without entering a password,

under one of these two conditions:

  • They are already added as users to your library or cloud ebook manually (e.g. through Kotobee Author)
  • You have your library or cloud ebook enabled for self-registration

Steps to Use Google SSO

In order to use Google for Single Sign-On, you need to have a Google developer account. After logging into your account, you will be able to create a project through your Developer Console. 

To enable SSO for your library or cloud ebook, follow the instructions below.

Create Google Authorization Credentials

Have your library or ebook app URL ready.

If your library or ebook app is hosted with Kotobee, then the URL will be in the form of https://yoursubdomain.kotobee.com. Otherwise, it will be the URL that you have exported your library or ebook app files to. That URL will be referred to in some of the steps below as YOUR_URL.

  1. Add new credentials from Developer Console > APIs & Services > Credentials
  2. Select OAuth client ID
  3. Set Application Type to Web Application
  4. Under Authorised JavaScript origins, add the following URLs:

  5. Under Authorised redirect URIs, add the following URLs:

  6. Click Create and copy Your Client ID once you get the OAuth client created prompt. That value will be entered at Kotobee Author.

Enable Google SSO in Kotobee Author

Open Kotobee Author. Go into your library or cloud ebook settings, and click on the Single sign-on tab.

Click on the Enable button under Google.

Enter the Client ID and optionally Google Hosted Domain (in case you're using Google G-Suite) and hit Save Changes at the bottom.

You do not need to re-export your library or ebook app if you enable or disable SSO. The reader will pick up this change automatically.