diff options
| author | Kinjal Mehta <kme@odoo.com> | 2015-08-11 16:27:27 +0530 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2016-08-02 16:02:29 +0200 |
| commit | 914b2be9678e747b585839449de04f86464941d4 (patch) | |
| tree | 906f0dedeb1e7255527368c87513a2052061d6dc /addons/auth_oauth/data/auth_oauth_data.xml | |
| parent | 0a17a144c6f3a591f288104cdb81325e2984df7f (diff) | |
[MOVE]auth_oauth: Moved files in related models and views directory.
Diffstat (limited to 'addons/auth_oauth/data/auth_oauth_data.xml')
| -rw-r--r-- | addons/auth_oauth/data/auth_oauth_data.xml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/addons/auth_oauth/data/auth_oauth_data.xml b/addons/auth_oauth/data/auth_oauth_data.xml new file mode 100644 index 00000000000..3b71b56be1f --- /dev/null +++ b/addons/auth_oauth/data/auth_oauth_data.xml @@ -0,0 +1,33 @@ +<?xml version="1.0"?> +<openerp> + <data noupdate="1"> + <record id="provider_openerp" model="auth.oauth.provider"> + <field name="name">Odoo.com Accounts</field> + <field name="auth_endpoint">https://accounts.odoo.com/oauth2/auth</field> + <field name="scope">userinfo</field> + <field name="validation_endpoint">https://accounts.odoo.com/oauth2/tokeninfo</field> + <field name="data_endpoint"></field> + <field name="css_class">zocial openerp</field> + <field name="body">Log in with Odoo.com</field> + <field name="enabled" eval="True"/> + </record> + <record id="provider_facebook" model="auth.oauth.provider"> + <field name="name">Facebook Graph</field> + <field name="auth_endpoint">https://www.facebook.com/dialog/oauth</field> + <field name="scope">public_profile,email</field> + <field name="validation_endpoint">https://graph.facebook.com/me</field> + <field name="data_endpoint"></field> + <field name="css_class">fa fa-facebook-square</field> + <field name="body">Log in with facebook</field> + </record> + <record id="provider_google" model="auth.oauth.provider"> + <field name="name">Google OAuth2</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">fa fa-google-plus-square</field> + <field name="body">Log in with Google</field> + </record> + </data> +</openerp> |
