+
+
+
+
+
+
-
-
+
+
-
-
- To setup the signin process with Google, first you have to perform the following steps:
-
- - Go to the Google APIs console
- - Create a new project
- - Go to Api Access
- - Create an oauth client_id
- - Edit settings and set both Authorized Redirect URIs and Authorized JavaScript Origins to your hostname.
-
- Now copy paste the client_id here:
-
+
+
+ To setup the sign in process with Google, you have to perform
+ the following steps first.
+
+
+
+ Connect to your Google account and go to
+
+ https://console.developers.google.com/
+
+
+ Click on Create Project and enter the project name and
+ other details.
+
+
+
+
+
+
+
+
+ Click on Use Google APIs
+
+
+
+
+
+ On the left side menu, select the sub menu Credentials
+ (from API Manager ) then select OAuth consent screen .
+
+
+
+
+
+ Fill in your address, email and the product name (for example odoo)
+ and then save.
+
+
+
+
+
+ Then click on Add Credentials and select the second option
+ (OAuth 2.0 Client ID).
+
+
+
+
+
+
+
+
+ Check that the application type is set on Web Application .
+ Now configure the allowed pages on which you will be redirected.
+
+
+ To achieve this, complete the field Authorized redirect URIs .
+ Copy paste the following link in the box:
+
+
Then click on Create .
+
+
+
+
+
+ Once done, you receive two information (your Client ID and
+ Client Secret ). You have to insert your Client ID in
+ the field below.
+
+
+
+
+
+
+
+
+
+
-
+
+
-
diff --git a/addons/auth_oauth/static/src/img/steps_1.png b/addons/auth_oauth/static/src/img/steps_1.png
new file mode 100644
index 00000000000..e566bd57e21
Binary files /dev/null and b/addons/auth_oauth/static/src/img/steps_1.png differ
diff --git a/addons/auth_oauth/static/src/img/steps_2.png b/addons/auth_oauth/static/src/img/steps_2.png
new file mode 100644
index 00000000000..d8efa8a9069
Binary files /dev/null and b/addons/auth_oauth/static/src/img/steps_2.png differ
diff --git a/addons/auth_oauth/static/src/img/steps_3.png b/addons/auth_oauth/static/src/img/steps_3.png
new file mode 100644
index 00000000000..e22da632c70
Binary files /dev/null and b/addons/auth_oauth/static/src/img/steps_3.png differ
diff --git a/addons/auth_oauth/static/src/img/steps_4.png b/addons/auth_oauth/static/src/img/steps_4.png
new file mode 100644
index 00000000000..9b53656af8b
Binary files /dev/null and b/addons/auth_oauth/static/src/img/steps_4.png differ
diff --git a/addons/auth_oauth/static/src/img/steps_5.png b/addons/auth_oauth/static/src/img/steps_5.png
new file mode 100644
index 00000000000..86010d2c13d
Binary files /dev/null and b/addons/auth_oauth/static/src/img/steps_5.png differ
diff --git a/addons/auth_oauth/static/src/img/steps_6.png b/addons/auth_oauth/static/src/img/steps_6.png
new file mode 100644
index 00000000000..bf9aecb5adc
Binary files /dev/null and b/addons/auth_oauth/static/src/img/steps_6.png differ
diff --git a/addons/auth_oauth/static/src/img/steps_7.png b/addons/auth_oauth/static/src/img/steps_7.png
new file mode 100644
index 00000000000..064b81a97d8
Binary files /dev/null and b/addons/auth_oauth/static/src/img/steps_7.png differ
diff --git a/addons/auth_oauth/static/src/img/steps_8.png b/addons/auth_oauth/static/src/img/steps_8.png
new file mode 100644
index 00000000000..b1ec01739fa
Binary files /dev/null and b/addons/auth_oauth/static/src/img/steps_8.png differ
diff --git a/addons/auth_oauth/static/src/img/steps_9.png b/addons/auth_oauth/static/src/img/steps_9.png
new file mode 100644
index 00000000000..72053a474ab
Binary files /dev/null and b/addons/auth_oauth/static/src/img/steps_9.png differ
diff --git a/addons/base_setup/res_config.py b/addons/base_setup/res_config.py
index 43ebbf2bd18..7ec3da83060 100644
--- a/addons/base_setup/res_config.py
+++ b/addons/base_setup/res_config.py
@@ -16,7 +16,7 @@ class base_config_settings(osv.osv_memory):
help="""Share or embbed any screen of Odoo."""),
'module_portal': fields.boolean('Activate the customer portal',
help="""Give your customers access to their documents."""),
- 'module_auth_oauth': fields.boolean('Use external authentication providers, sign in with Google...'),
+ 'module_auth_oauth': fields.boolean('Use external authentication providers (OAuth)'),
'module_base_import': fields.boolean("Allow users to import data from CSV/XLS/XLSX/ODS files"),
'module_google_drive': fields.boolean('Attach Google documents to any record',
help="""This installs the module google_docs."""),
diff --git a/addons/base_setup/res_config_view.xml b/addons/base_setup/res_config_view.xml
index f4d6e79fd34..d502b164a60 100644
--- a/addons/base_setup/res_config_view.xml
+++ b/addons/base_setup/res_config_view.xml
@@ -44,8 +44,10 @@