summaryrefslogtreecommitdiff
path: root/addons/auth_oauth/auth_oauth_data.xml
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2012-09-25 11:51:19 +0200
committerFabien Meghazi <fme@openerp.com>2012-09-25 11:51:19 +0200
commita19717019449a86973269ef7cefa492dd44ca97d (patch)
treee027e4a2ea80c18aa4e2503c91fcf59b69d4b2d5 /addons/auth_oauth/auth_oauth_data.xml
parent6a99c09facf3c098dadba35c1728e14f1a92e7ef (diff)
[ADD] Added OpenERP Online oauth provider + openerp zocial css
bzr revid: fme@openerp.com-20120925095119-erlvy2vjqxrkjvy6
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..86b0f6c593e 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</field>
+ <field name="auth_endpoint">https://openerp.my.openerp.com/oauth2/auth</field>
+ <field name="scope">userinfo</field>
+ <field name="validation_endpoint">https://openerp.my.openerp.com/oauth2/tokeninfo</field>
+ <field name="data_endpoint"></field>
+ <field name="css_class">zocial openerp</field>
+ <field name="body">Sign in with OpenERP Online</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>