4 <record model="ir.ui.view" id="view_general_configuration">
5 <field name="name">base.config.settings.oauth</field>
6 <field name="model">base.config.settings</field>
7 <field name="inherit_id" ref="base_setup.view_general_configuration"/>
8 <field name="arch" type="xml">
9 <xpath expr="//field[@name='module_auth_oauth']/.." position="after">
10 <div attrs="{'invisible':[('module_auth_oauth','=',False)]}">
13 <field name="auth_oauth_google_enabled" class="oe_inline"/>
14 <label for="auth_oauth_google_enabled"/>
16 <div attrs="{'invisible':[('auth_oauth_google_enabled','=',False)]}">
18 To setup the signin process with Google, first you have to perform the following steps:<br/>
20 - Go to the <a href="https://code.google.com/apis/console/">Google APIs console</a><br/>
21 - Ceate a new project<br/>
22 - Go to Api Access<br/>
23 - Create an oauth client_id<br/>
24 - Edit settings and set both Authorized Redirect URIs and Authorized JavaScript Origins to your hostname.<br/>
26 Now copy paste the client_id here: <field name="auth_oauth_google_client_id" class="oe_inline" placeholder="e.g. 1234-xyz.apps.googleusercontent.com"/>
32 <field name="auth_oauth_facebook_enabled" class="oe_inline"/>
33 <label for="auth_oauth_facebook_enabled"/>
35 <div attrs="{'invisible':[('auth_oauth_facebook_enabled','=',False)]}">
37 To setup the signin process with Google, first you have to perform the following steps:<br/>
39 Now copy paste the client_id here: <field name="auth_oauth_facebook_client_id" class="oe_inline" placeholder="e.g. 1234-xyz.apps.googleusercontent.com"/>