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

Google Integration Preferences

This article is protected against manual editing because it is automatically generated from Openbravo meta-data. Learn more about writing and translating such documents.
Back button.png   Back to General Setup


Contents

Introduction

Openbravo allows to log-in by using a Google Account.

GoogleLogin.png

There are two ways to use Google Account Authentication service:

It is important to remark that it is also possible to diseable Google Account Authentication by adding a property type preference named "Enable Google button in Login Page" set to "N".

Google Integration Defaults

Google Integration Preferences.png

Openbravo allows to select a default role to be linked to the new Openbravo users which will be automatically created by Openbravo as they want to log in by using a google account.

Fiels to note:

The outcome of this process is shown in the image below:

Patricia googleaccount.png

Server Configuration

Apache Tomcat configuration

Bulbgraph.png   This configuration is only required if your made a Custom Installation

URIEncoding: This specifies the character encoding used to decode the URI bytes, after %xx decoding the URL. If not specified, ISO-8859-1 will be used.

The default encoding for parameters in Apache Tomcat is ISO-8859-1 and that leads to this error:

ERROR org.openid4java.consumer.ConsumerManager - Verification failed for: https://www.google.com/accounts/o8/id?id=SomeToken reason: null
ERROR org.openbravo.service.integration.google.GoogleAuthServlet - Error processing return of Google Auth Service:null

The solution is to set the encoding to UTF-8 in your connectors (depending on which one you're using)

Example (server.xml):

<Connector URIEncoding="UTF-8" connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>

More information at openid4java forum post



Full list of Google Integration Preferences window fields and their descriptions is available in the Google Integration Preferences Screen Reference.

Back button.png   Back to General Setup

Retrieved from "http://wiki.openbravo.com/wiki/Google_Integration_Preferences"

This page has been accessed 1,772 times. This page was last modified on 23 July 2014, at 10:56. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.