With the new multiple user directories option, I'm unable to use to the SAML Users and Groups tab of the security configuration to identify SAML Users and Groups.
I've configured multiple directories (Active Directory and a SAML directory) and the SAML Users and Groups tab shows up when i enable the SAML directory, however I get a 500 error page when I click on the tab.
The error that shows up in the logs is this:
Logged:
6/24/2022 4:01:01 PM
Level:
Error
Category:
Web
Message:
An error occurred in the web application: Unable to load the specified user directory
Details:
URL: https://proget/administration/security/external/users?userDirectoryId=4
Referrer: https://proget/administration/security/manage-directories61
User: <admin user>
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:101.0) Gecko/20100101 Firefox/101.0
Stack trace: at Inedo.ProGet.WebApplication.Pages.Administration.Security.SecurityPageBase.CreateChildControls()
at Inedo.ProGet.WebApplication.Pages.ProGetSimplePageBase.<InitializeAsync>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Web.PageFree.SimplePageBase.<ExecutePageLifeCycleAsync>d__57.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Web.PageFree.SimplePageBase.<ProcessRequestAsync>d__56.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar)
at Inedo.Web.Handlers.AsyncHandlerWrapper.EndProcessRequest(IAsyncResult result)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Note: when I look in the database, the directoryID for my SAML directory is actually 6.