0

I've read quite a few question on stack overflow about that. this one and this one and quite a few others...

enter image description here enter image description here

I've tried with and without encoding the redirect URI in the address bar . With and without https. With and without the final slash. And every combination of the above. I've triple checked the client ID.

encode/decode:

http%3A%2F%2Flocalhost%3A9000%2F
http://localhost:9000/
https://www.facebook.com/dialog/oauth?client_id=272730539567323&redirect_uri=http%3A%2F%2Flocalhost%3A9000%2F

At some point, my code worked, And I logged in with it! Then I tried to change the redirection urls, and it never worked again, even after going back.

The worst is that I'm already logged in and you can see my name and profile picture on the screen !!!

I'm running out of ideas...

Note: I'm not including the actual code as I think it is irrelevant to the question and scala/play specific would only reduce the number of people trying to answer.

Community
  • 1
  • 1
user2346536
  • 1,464
  • 2
  • 21
  • 43

1 Answers1

0

Solution:

extra oauth settings

I'm not sure why, I had been able to login before because I do not remember having ever set/unset the above settings in "settings->advanced tab-> Client OAuth settings".

But if you encounter this problem, here lies the answser.

user2346536
  • 1,464
  • 2
  • 21
  • 43