StudentAffairsUWM / Laravel-Shibboleth-Service-Provider

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

Option to reject users not in DB #7

Closed tdhsmith closed 9 years ago

tdhsmith commented 9 years ago

Introduces add_new_users config variable that determines whether or not idp users should be added to the application database. The default (historical) behavior is true. If set to false, users who pass idp but have no local entry will simply be marked with 'auth_type' => 'no_user' and sent to the login failure view.

This was motivated by a desire to reduce clutter in the user table for a project where users must be pre-approved before use.

cjmaio commented 9 years ago

Ignore all of those.

This is a backwards-compatible change, merging into master.