Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This functionality allows using Google's SSO service to register and/or login users into your applications. More SSO connectors are coming soon.

Table of Contents



Here is an example of how the login page will look in this case:

...

1. Important Notes


NOTE 1 - If your company uses Google as an email provider, you will be able to use this service within your domain.


NOTE 2 - We provide a default Google auth account, free of charge, however, if you want to use your own email to control all auth, follow the instruction below.


NOTE 3 - Mobsted platform allows not just registering new users with their Google accounts (as it is done with most systems), but also to ADD this auth type to EXISTING users, so they can log in quickly without using any SMS or email or passcodes. 



2. Creating a Google Auth account


1) Login into your Google account, which will be used to provide auth service

...

15) Go to "OAuth consent screen", marked green ↓, and press "Publish App", marked magenta ↓, then press Confirm, marked blue ↓




3. Adding Google Auth to Mobsted


1. Turn on Google Auth for the app


1) Open Security settings of the application, where you want to have Google Auth, you can do it from the home screen (marked blue ↓) or from the App's top menu.

Image Added


2) On the Security page check the box "External ID" and select Google in it - top red box ↓, this will open a new section below, please input an ID and Secret tokens - bottom magenta box ↓,  which you copied on Step 2-14 above, from your Google account.


Image Added


PRESS SAVE- Green button ↑.


Info
titleNOTE

External ID is an additional option for users to register or log in quicker. You still need to have a phone number or email to make sure users can recover their accounts later without using the Google SSO.



If you only need to register new users with Google, then that's it.


2. Add Google auth to any existing users in the app


You can request or offer users to ADD a google account at any time while browsing your app. This is done using actions, which can be called on any component with actions. 


1) Inside the Constructor panel - Choose a component, which will call up Google's auth prompt and add an action to it.

Image Added


2) The Action will only work on Click. You can also add execution conditions if needed.

Image Added


Info
titleNOTE

Our system allows changing Google accounts for the same user in Mobsted

...

. So if a user clicks on the action creating the connection he/she will be able to connect to another Google account. So if you do not want this, set condition checking if a google account already exists for this user, or do not use this function at all. 


If you do not use this Action, sign up and login pages will be the only place to connect a Google account, and no ability to change will exist.