FatFractal customer forums



Author Topic: Facebook login and Fatfractal integration  (Read 4592 times)

dave

  • Administrator
  • *****
  • Posts: 52
    • View Profile
Re: Facebook login and Fatfractal integration
« Reply #15 on: December 19, 2014, 11:45:49 AM »
OK, progress. Here's the redirect URI being given to Facebook, after URL-decoding:

http://eduroam1.uni-siegen.de:8080/darkLady/ff/auth?action=redirect&redirectUri=darkladyfb

This is the URL that Facebook tries to reconcile with your app settings, so that's why it's failing. Try putting

http://eduroam1.uni-siegen.de:8080/darkLady

in your Facebook app settings, in place of the localhost addresses we tried before. By default, ScriptAuth redirects go to your FF backend, which then re-redirects to the final URI you requested (in this case 'darkladyfb'). This is to allow for scenarios just like this one where the OAuth provider doesn't accept arbitrary callback URIs.

Dave

armin65

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Facebook login and Fatfractal integration
« Reply #16 on: December 20, 2014, 04:54:28 PM »
Ok I have tried your suggestions, but Facebook does not even accept the address as a valid one. And the Auth uri changes depending on the network I connect from. The one that I provided was from university, from my home network it changes (Armin-MacBook-Pro-2 instead of eduroam1.uni-siegen.de)

Btw. I don't know if you read one of my posts earlier but I checked the application with FF cloud URL (https://tetrolog.fatfractal.com/darkLady) and I get the same error so I think the error might be somewhere else.

dave

  • Administrator
  • *****
  • Posts: 52
    • View Profile
Re: Facebook login and Fatfractal integration
« Reply #17 on: December 24, 2014, 12:42:40 PM »
The error is coming from Facebook, so you need to mess with your Facebook app settings until it accepts that callback URI, I don't know what else to tell you. If Facebook doesn't like .de TLD then I guess you'll need to use a cloud backend. The alternative is to not redirect the callback through the FF backend, there are settings in Auth.js to accomplish that. If you want to do this let me know and I can help you make the changes needed to Auth.js.

 

Copyright © FatFractal customer forums