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.
Introduces
add_new_users
config variable that determines whether or not idp users should be added to the application database. The default (historical) behavior istrue
. If set tofalse
, 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.