Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Ninjauth infinite loop on callback
  • Hello. I have recently installed Ninjauth on 1.4. 

    On both Facebook and Twitter, I am able to get passed from my app to facebook's and twitter's authorization pages. However, after authenticating, it seems to put me in an infinite loop on the callback redirect which results in a 310 too many redirects error in my browser. 

    I've set the redirects for each appropriate case in the Ninjauth Controller file, but it doesn't even seem to get to that point. Any ideas as to why this may be happening?! It's driving me nuts. Thanks.
  • Fixed: I changed

    $provider->callback = Uri::create(str_replace('/session/', '/callback/', Request::active()->route->path));


    $provider->callback = Uri::create('/auth/callback/' . $provider->name);

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion