Replaced IExternalIdentityProviderService used during AccountController.ExternalLogin with IPrincipalSearchService. Registered IExternalIdentityProviderService class IdPSearchServiceProvider uses idPSS which may not be installed. Switching to IPrincipalSearchService (registered with PrincipalSearchService) uses code already inside Identity and moved from idPSS to try to search for the user.
This fixes an issue with Access Control login showing an error from Identity when UseDiscovery for Identity is enabled: https://dev.azure.com/healthcatalyst/CAP/_workitems/edit/196332
Replaced IExternalIdentityProviderService used during AccountController.ExternalLogin with IPrincipalSearchService. Registered IExternalIdentityProviderService class IdPSearchServiceProvider uses idPSS which may not be installed. Switching to IPrincipalSearchService (registered with PrincipalSearchService) uses code already inside Identity and moved from idPSS to try to search for the user.