summaryrefslogtreecommitdiff
path: root/addons/auth_oauth/auth_oauth_data.xml
diff options
context:
space:
mode:
authorAntony Lesuisse <al@openerp.com>2012-08-15 20:09:13 +0200
committerAntony Lesuisse <al@openerp.com>2012-08-15 20:09:13 +0200
commit334bc0ff666365198ce3a5c96d3937ddba5660a2 (patch)
tree82de822b8289120a2cd36b1e6e769e09c6d0dc84 /addons/auth_oauth/auth_oauth_data.xml
parenteb50d914614eed9e046ba713e9e988419e0f8422 (diff)
[IMP] generic oauth providers
bzr revid: al@openerp.com-20120815180913-2y889mtgg15v5lqb
Diffstat (limited to 'addons/auth_oauth/auth_oauth_data.xml')
-rw-r--r--addons/auth_oauth/auth_oauth_data.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/addons/auth_oauth/auth_oauth_data.xml b/addons/auth_oauth/auth_oauth_data.xml
new file mode 100644
index 00000000000..7eef4f83c51
--- /dev/null
+++ b/addons/auth_oauth/auth_oauth_data.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0"?>
+<openerp>
+ <data noupdate="1">
+ <record id="provider_google" model="auth.oauth.provider">
+ <field name="name">Google OAuth2</field>
+ <field name="client_id">108010644258-duuhmp6pu7li4tsmnqg7j9rvdeklg0ki.apps.googleusercontent.com</field>
+ <field name="auth_endpoint">https://accounts.google.com/o/oauth2/auth</field>
+ <field name="scope">https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile</field>
+ <field name="validation_endpoint">https://www.googleapis.com/oauth2/v1/tokeninfo?access_token=</field>
+ <field name="data_endpoint">https://www.googleapis.com/oauth2/v1/userinfo?access_token=</field>
+ <field name="active">True</field>
+ </record>
+ <record id="provider_twitter" model="auth.oauth.provider">
+ <field name="name">Twitter OAuth2</field>
+ <field name="client_id">108010644258-duuhmp6pu7li4tsmnqg7j9rvdeklg0ki.apps.twitterusercontent.com</field>
+ <field name="auth_endpoint">https://api.twitter.com/oauth/request_token</field>
+ <field name="scope"></field>
+ <field name="validation_endpoint">https://api.twitter.com/oauth/authorize?oauth_token=</field>
+ <field name="data_endpoint"></field>
+ <field name="active">True</field>
+ </record>
+ </data>
+</openerp>