summaryrefslogtreecommitdiff
path: root/addons/auth_oauth/auth_oauth_data.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/auth_oauth/auth_oauth_data.xml')
-rw-r--r--addons/auth_oauth/auth_oauth_data.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/addons/auth_oauth/auth_oauth_data.xml b/addons/auth_oauth/auth_oauth_data.xml
index 7bb95192e5d..83e9df2e44d 100644
--- a/addons/auth_oauth/auth_oauth_data.xml
+++ b/addons/auth_oauth/auth_oauth_data.xml
@@ -2,6 +2,15 @@
<openerp>
<data>
+ <record id="provider_openerp" model="auth.oauth.provider">
+ <field name="name">OpenERP Accounts</field>
+ <field name="auth_endpoint">https://accounts.openerp.com/oauth2/auth</field>
+ <field name="scope">userinfo</field>
+ <field name="validation_endpoint">https://accounts.openerp.com/oauth2/tokeninfo</field>
+ <field name="data_endpoint"></field>
+ <field name="css_class">zocial openerp</field>
+ <field name="body">Sign in with OpenERP account</field>
+ </record>
<record id="provider_facebook" model="auth.oauth.provider">
<field name="name">Facebook Graph</field>
<field name="auth_endpoint">https://www.facebook.com/dialog/oauth</field>