summaryrefslogtreecommitdiff
path: root/addons/auth_oauth/auth_oauth_data.xml
diff options
context:
space:
mode:
authorAtul Patel (OpenERP) <atp@tinyerp.com>2012-08-16 10:50:21 +0530
committerAtul Patel (OpenERP) <atp@tinyerp.com>2012-08-16 10:50:21 +0530
commit22a810507cc6b4e48a067b6baaf9869d72e5a38e (patch)
tree1808e0671b83dec971ae431b6ab1f09cfbfb44e8 /addons/auth_oauth/auth_oauth_data.xml
parent1d2168a02ebeeb7441c9171bd9dcda8226d29cdc (diff)
parentf4f7de136921528f4b465629ff756b367ee0bba7 (diff)
[MERGE]: Merged with lp:openobject-addons
bzr revid: atp@tinyerp.com-20120816052021-igdj7knaimwg9x7z
Diffstat (limited to 'addons/auth_oauth/auth_oauth_data.xml')
-rw-r--r--addons/auth_oauth/auth_oauth_data.xml38
1 files changed, 38 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..021a03b2742
--- /dev/null
+++ b/addons/auth_oauth/auth_oauth_data.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0"?>
+<openerp>
+ <data noupdate="1">
+ <record id="provider_facebook" model="auth.oauth.provider">
+ <field name="name">Facebook Graph</field>
+ <field name="client_id">facebook_client_id</field>
+ <field name="auth_endpoint">https://www.facebook.com/dialog/oauth</field>
+ <field name="scope"></field>
+ <field name="validation_endpoint">https://graph.facebook.com/me/permissions</field>
+ <field name="data_endpoint"></field>
+ <field name="css_class">zocial facebook</field>
+ <field name="body">Sign in with facebook</field>
+ <field name="active">True</field>
+ </record>
+ <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</field>
+ <field name="data_endpoint">https://www.googleapis.com/oauth2/v1/userinfo</field>
+ <field name="css_class">zocial google</field>
+ <field name="body">Sign in with google</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</field>
+ <field name="data_endpoint"></field>
+ <field name="css_class">zocial twitter</field>
+ <field name="body">Sign in with twitter</field>
+ <field name="active">True</field>
+ </record>
+ </data>
+</openerp>