Learn how to integrate your cloud ebook or library with Google, for a better user login experience.
Currently, Google SSO isn't supported on Kotobee mobile apps. Instead, you may use Auth0 or Okta, which includes Google SSO.
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.
Note: Google SSO is unavailable for Android and iOS apps. An alternative is to enable Single Sign-on with Auth0 which provides Google SSO as a default option.
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.
- Add new credentials from Developer Console > APIs & Services > Credentials
- Select OAuth client ID
- Set Application Type to Web Application
Under Authorised JavaScript origins, add the following URLs:
YOUR_URL
Under Authorised redirect URIs, add the following URLs:
YOUR_URL/?provider=google
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.