summaryrefslogtreecommitdiff
path: root/addons/auth_oauth/auth_oauth_data.xml
diff options
context:
space:
mode:
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>