View source | Discuss this page | Page history | Printable version   
Toolbox
Main Page
Upload file
What links here
Recent changes
Help

PDF Books
Add page
Show collection (0 pages)
Collections help

Search

Modules:Google Sign In

Contents

Overview

Google Sign In is an Openbravo commercial module that provides Google Sign In integration (based in OAuth2 authentication) to Openbravo.

It uses common Google Apps infrastructure provided by Google Apps Integration module.

When this module is installed and configured, Log In page Google Sign In button will start working.


SignInUsingOAuth2.png

There are two ways to use the Google Accounts authentication service:

Bulbgraph.png   You need to be aware of the security implications of enabling the second option. This feature is offered for public instances like demo.openbravo.com where the data is public, or for an instance behind a corporate firewall that is not public accessible. DO NOT ENABLE DEFAULT SETTINGS FOR NEW USERS IF YOUR INSTANCE IS PUBLIC ACCESSIBLE

Creating and configuring the Google Project

GSI Step1.png


GSI Step2.png


GSI Step3.png


GSI Step4.png


GSI Step5.png


GSI Step6.png


GSI Step7.png


Configure Google API Project in Openbravo

GSI Step8.png

Google Account association

Google-associate1.png


GSI Step9.png


GSI Step10.png


GSI Step11.png


SignInUsingOAuth2.png

Remove Association

Google Integration Preferences

New User Defaults

Bulbgraph.png   Remember: DO NOT ENABLE THIS FEATURE IF YOUR APPLICATION IS PUBLIC ACCESSIBLE

You can define some default role for your Client. This default role is the one that will be used to create a new user if the Google Account doesn't have any other user associated.

Google-integration-preferences.png

After configuring this default preferences, any user with a Google Account can log-in into the application. If no Openbravo user is associated a new one is created with the default previously defined.

Known Issues

When Signing In with OAuth2, Google provides a different ID than the one it provided when signing in with OpenID2. This means, Openbravo and Google account needs to be reassociated even they were previously linked. So first time each user wants to use new sign in, confirmation will be prompted again.

This affects also to auto-genrated users, this is, previously auto-generated users can't sign in again using new authentication. If user auto-generation is enabled, new users will be created on firsts sign in.

Disabling Google integration

Professional Instances

You just need to create a new Preference with the property:

GIconPreference.png


Community Instances

The 'Google Sign In' button cannot be hidden.

Retrieved from "http://wiki.openbravo.com/wiki/Modules:Google_Sign_In"

This page has been accessed 2,965 times. This page was last modified on 26 May 2015, at 05:55. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.