summaryrefslogtreecommitdiff
path: root/addons/auth_oauth/auth_oauth_data.xml
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2012-10-02 10:43:43 +0200
committerFabien Meghazi <fme@openerp.com>2012-10-02 10:43:43 +0200
commitf285c0e481d12edfc2aa9aa1fd3baeb334bc39c6 (patch)
treee28fb555997cdd446f50f42feaf63b1c00b3c695 /addons/auth_oauth/auth_oauth_data.xml
parenta5fac44994a5d2c0e20cdde0bf72ef152d2342dd (diff)
parent01611481a5aa8fc4723015b4481c9486fa48ef0e (diff)
[IMP] Improved auth_oauth and added OpeneERP Accounts provider demo data
bzr revid: fme@openerp.com-20121002084343-3v1a0vn1pck01tx7
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>