Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

odoo 8.0 facebook login oauth

By
leonardo chianea
on 12/10/14, 7:26 PM 3,325 views

There is any tutorial that help to use odoo 8.0 facebook login ? 

I create an account here
https://developers.facebook.com/apps

then I follow the step by step process and tried the facebook login then I have this issue

Error Warning

Invalid Scope: False

any clue will be appreciated

1
Ivan Yelizariev
On 1/23/15, 9:17 AM

Set value "public_profile,email" (without quotes) to Scope field at Facebook OAuth Provider form

Check this page for other values: https://developers.facebook.com/docs/facebook-login/permissions/v2.2

I don't understand.... where to set it?

Pascal Tremblay
on 6/25/15, 7:33 PM

Ok, I have found it in Settings->Users->OAuth Providers

Pascal Tremblay
on 6/25/15, 7:42 PM
0
Odoo Odds
On 3/31/15, 9:23 PM

there was an error in file /auth_oauth/auth_oauth_data.xml ?

I checked and found the line in record id facebook to read like this:

<field name="scope"/>

I solved like this:

uninstall auth_oauth

edit /auth_oauth/auth_oauth_data.xml

find:

<record id="provider_facebook" model="auth.oauth.provider">

find line:

<field name="scope"/>

change to

<field name="scope">public_profile,email</field>

( or leave blank and edit the values in the form at > Settings > Oauth Providers > Facebook )

update modules

re-install auth_oauth

now it's working, check your code too

0
leonardo chianea
On 3/27/15, 5:34 PM

 I Tryed your solution but not work as expected

Best Regards

0
Sebastian Bollatti
On 3/27/15, 3:11 PM

Same with:

Invalid Scope: False

Any idea?

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

6 follower(s)

Stats

Asked: 12/10/14, 7:26 PM
Seen: 3325 times
Last updated: 3/31/15, 9:23 PM