dspace-angular icon indicating copy to clipboard operation
dspace-angular copied to clipboard

Authentication plugins - Whitelabel error page is shown when user does not exist

Open davide-negretti opened this issue 3 years ago • 2 comments

Describe the bug When external authentication plugins (such as Shibboleth) are being used, a new ePerson is automatically created for each external account.

If the automatic creation is disabled, when an user logs in with an external provider then the "whitelabel error page" is shown. An error message should be shown instead.

To Reproduce

  1. Set authentication-shibboleth.autoregister = false in authentication-shibboleth.cfg
  2. Log in using an external account that doesn't have an associated ePerson

Expected behavior An error message should be shown informing the user that the account does not exist.

Documentation https://wiki.lyrasis.org/display/DSDOC7x/Authentication+Plugins#AuthenticationPlugins-ShibbolethAuthentication

davide-negretti avatar May 11 '22 09:05 davide-negretti

@tdonohue we can start to work on that. Right now it is still unclear how to solve the issue so the estimation needs to be refined after further investigation but this would take more than 40 hours

abollini avatar Jul 22 '22 15:07 abollini

@abollini : Came across this ticket previously assigned to 4Science. Should this remain assigned to you for 7.5, or should I unassign?

tdonohue avatar Oct 21 '22 15:10 tdonohue