34 lines
1.9 KiB
XML
34 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<flectra>
|
|
<data noupdate="1">
|
|
<record id="provider_openerp" model="auth.oauth.provider">
|
|
<field name="name">Flectrahq.com Accounts</field>
|
|
<field name="auth_endpoint">https://accounts.flectra.com/oauth2/auth</field>
|
|
<field name="scope">userinfo</field>
|
|
<field name="validation_endpoint">https://accounts.flectra.com/oauth2/tokeninfo</field>
|
|
<field name="data_endpoint"></field>
|
|
<field name="css_class">zocial openerp</field>
|
|
<field name="body">Log in with Flectrahq.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">https://graph.facebook.com/me?fields=id,name,email</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>
|
|
</flectra>
|