TechForUK / Brexometer

Lightweight React front end for Brexometer
https://brexit.represent.me
GNU General Public License v3.0
0 stars 2 forks source link

Fix facebook login #4

Open aspiers opened 6 years ago

aspiers commented 6 years ago

From @aspiers on September 14, 2018 20:2

Facebook login is broken as mentioned in #9. It's possible to sign up and login via email though, so not a blocker for testing other stuff.

Copied from original issue: GreatBritishHackOff/BrexitRealityCheck#11

aspiers commented 6 years ago

Should be at least partially fixed by https://github.com/eddowding/Represent-django/pull/1 - not merged but have manually applied the changes to the backend and purged the CloudFlare cache with Ed's help.

aspiers commented 6 years ago

Fix facebook login

aspiers commented 5 years ago

To clarify, based on the results of some more in depth experiments yesterday, I think this only fixes an issue with the test facebook app, when a user (specifically an admin of the app) gives authorisation for the backend to retrieve some of their details via the app's permission scopes. The scopes in question are only deprecated, so when authorising against the prod facebook app, or (I think) when authorising against the test app as a non-admin, it works fine.