i8beef / SAML2

Other
88 stars 43 forks source link

Choose the Identity Provider #63

Closed thisisata closed 3 years ago

thisisata commented 3 years ago

Hi, I am getting the following message from the signon handler-> Please Choose the Identity Provider of your choice from the list below. And there is noting to choose its not showing any names. Its blank list

Moreover I should not get this message as I have only one IdP in my configuration and that too has attribute default="true" Capture

Thanks for ur timely support.

i8beef commented 3 years ago

There's something wrong with your config. Since you are having so many issues getting a good config, it might be a good idea to implement a logging provider and look at the debug logs that the library outputs. They may be helpful in pointing out whats wrong with your config.

The error above means it couldn't find ANY properly configured IDP provider. That is, this is returning NULL or MULTIPLE for some reason: https://github.com/i8beef/SAML2/blob/8dfd86989c3a4c7c95e5e0baa850e3f9c7eb532b/src/SAML2/Protocol/Saml20AbstractEndpointHandler.cs#L91