summaryrefslogtreecommitdiff
path: root/addons/auth_oauth/auth_oauth_data.xml
diff options
context:
space:
mode:
authorAntony Lesuisse <al@openerp.com>2012-08-16 00:58:56 +0200
committerAntony Lesuisse <al@openerp.com>2012-08-16 00:58:56 +0200
commit7125c97d6584a60129d0cf60f6ee72ce059f7e53 (patch)
tree08d35ee19ed788217d408ba4986c1585466a9e1d /addons/auth_oauth/auth_oauth_data.xml
parent774ea74c389b62b7fe69035585a8f4308d35afd6 (diff)
parent21cfdfb988981be194f949e5a1e5deaf05b3c29b (diff)
[MERGE] sign up, openid, auth_oauth
bzr revid: al@openerp.com-20120815225856-j4um24esr5fjxvte
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>