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

PDF Books
Show collection (0 pages)
Collections help

Search

ManualDoc:TFF8080813161A3D30131620862BF0014

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

Retrieved from "http://wiki.openbravo.com/wiki/ManualDoc:TFF8080813161A3D30131620862BF0014"

This page has been accessed 886 times. This page was last modified on 25 January 2012, at 17:12. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.