We now use ComponentSpace SAML2 library for a while, first in .Net and now in .Net Core (.Net 6).
We have identified in this one an issue in production server we cannot manage to understand or identify the root cause.
We have a multitenant product, meaning that multiple configurations can be configured by our customers. For that we have override the AbstractSamlConfigurationResolver.
In our CustomSamlConfigurationResolver, the method GetPartnerIdentityProviderConfigurationAsync(string configurationName, string partnerName) sometime get an empty configurationName (null). We rely on this configurationName to determine which configuration needs to be selected from our database to provide all relevant information in the PartnerIdentityProviderConfiguration object (result of the method).
Why, from time to time, randomly, and not for all users, the configurationName could be empty/null?
Thank you for your assistance.