summaryrefslogtreecommitdiff
path: root/addons/auth_oauth/auth_oauth_data.xml
diff options
context:
space:
mode:
authorvta vta@openerp.com <>2012-08-17 15:28:35 +0200
committervta vta@openerp.com <>2012-08-17 15:28:35 +0200
commit200a0fd5dd8dc03d17aaedb8ba61def2c629bd06 (patch)
treef0ebf8271dfd551c405270f5f0d95f31796f0e6f /addons/auth_oauth/auth_oauth_data.xml
parentb441abb3a9890e8324d39efb418146f340676a65 (diff)
[FIX] Fixed settings view, and added some functionality to oauth related fields.
bzr revid: vta@openerp.com-20120817132835-l5ne76q7t8lj73yc
Diffstat (limited to 'addons/auth_oauth/auth_oauth_data.xml')
-rw-r--r--addons/auth_oauth/auth_oauth_data.xml16
1 files changed, 6 insertions, 10 deletions
diff --git a/addons/auth_oauth/auth_oauth_data.xml b/addons/auth_oauth/auth_oauth_data.xml
index 021a03b2742..7bb95192e5d 100644
--- a/addons/auth_oauth/auth_oauth_data.xml
+++ b/addons/auth_oauth/auth_oauth_data.xml
@@ -1,38 +1,34 @@
<?xml version="1.0"?>
<openerp>
- <data noupdate="1">
+ <data>
+
<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>
+ <!-- <record id="provider_twitter" model="auth.oauth.provider">
+ <field name="name">Twitter OAuth</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>
+ </record> -->
+
</data>
</openerp>