StudentAffairsUWM / Laravel-Shibboleth-Service-Provider

Shibboleth Authentication for Laravel
https://packagist.org/packages/saitswebuwm/shibboleth
30 stars 38 forks source link

Users not created on login #19

Open code-mc opened 8 years ago

code-mc commented 8 years ago

I've followed your brief setup instructions and managed to access the default login page. Using the provided 'emulate_idp' option I expected it to "just work" once I logged in using one of the 3 default users.

When I enter e.g. the user/user combination I do not get the "wrong username/password" message but I do not get redirected to the successful login page either nor is the URL updated with some kind of token. I checked the database and no user entry is created either, which I assume should happen after reading the package's code.

Am I missing something here? How is this supposed to go down? Is this something I should ask the shibalike devs?

cjmaio commented 8 years ago

Are you using Laravel 4 or Laravel 5?

It should create the user when you login, as long as the user table is there and the following is set in the shibboleth configuration:

    'add_new_users'            => true, // Should new users be added automatically if they do not exist?
    'shibboleth_group'         => '1', // What group should the new users be automatically added to?

Do you have any PHP errors that are being hidden?