1

I'm using Laravel and OneAuth to build a web application. The user can sign in with his/her Twitter or GitHub account.

This actually works perfectly on my local dev server (with the exception of GitHub because the callback URLs don't match localhost), but when I've uploaded it to production, I get a blank page (/connect/callback/twitter).

Anyone else experienced this with OneAuth?

There are no errors in the error log, and the page has a 200 status code.

Local server:

  • Mac OS X 10.8
  • MAMP
  • PHP 5.4

Production:

  • CentOS 5
  • Apache + PHP 5.3
Andrew M
  • 4,208
  • 11
  • 42
  • 67

1 Answers1

0

Yeah i had this problem and the work around for this is to manually register your controller instead of doing ,

Route::controller(Controller::detect());

Do this,

Route::controller('connect');

FYI: If you are using nested controller the order in which you register matters.

kishanio
  • 6,979
  • 8
  • 25
  • 33