Open ithr0n opened 8 years ago
How I understand no body needed this package anymore. If you need it send pull request with fixes. I will merge and create new tag.
Got it working by manual installation of the files.
Unfortunately, the authentication is not working correctly. When I login to phpBB with a laravel user/password, the validation works (ApiController::_validateCredentials), but the validation of the session does not (ApiController::getSession). Auth::check() returns always false, even when Auth::attempt() returned true before.
Is this extension meant to work with php sessions or do I need to use Token based authentication or something like that?
When I get everything working I will send pull requests.
Extension works with php session. Forum and laravel app must be on same domain because of that.
I think if there are problem, it some where near this line https://github.com/CallMeNP/lara-auth-bridge/blob/master/phpbb3.1/ext/laravel/bridgebb/auth/provider/bridgebb.php#L17
Seems like we found a possible solution for this at #13. Simply wrap the route declarations in a web middleware, and it should work.
When using composer to install this package, the required files are not copied to the application.
Also the post-cmd vendor:publish command is not executed correctly.