Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4 Odpovědi
8901 Zobrazení

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

Avatar
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit

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

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

Nejlepší odpověď

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

Avatar
Zrušit
Autor Nejlepší odpověď

 I Tryed your solution but not work as expected

Best Regards

Avatar
Zrušit
Nejlepší odpověď

Same with:

Invalid Scope: False

Any idea?

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
bře 17
5734
1
bře 15
6869
3
pro 23
5890
0
kvě 20
4147
1
dub 18
6304