콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
4 답글
9165 화면

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

아바타
취소
베스트 답변

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?

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

베스트 답변

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

아바타
취소
작성자 베스트 답변

 I Tryed your solution but not work as expected

Best Regards

아바타
취소
베스트 답변

Same with:

Invalid Scope: False

Any idea?

아바타
취소
관련 게시물 답글 화면 활동
1
3월 17
6088
1
3월 15
7115
3
12월 23
6282
0
5월 20
4541
1
4월 18
6639