I have configured Auth0 as a SAML Service provider.
So I have an Application with a SAML connection enabled.
I don’t have any other connection enabled.
I’m using the ASP.NET Core: login sample app (Auth0 ASP.NET Core SDK Quickstarts: Login)
When I try to login for the first time it works. Then I logout, and then I cannot login anymore, I have this error: no connections enabled for the client.
Even If I clear my browser cache or try with another browser that I never used to login on this app.
Could you help me understand why the error said that I have no connection enabled despite I have the SAML connection enabled ?
Thank you for you help
Here is the stack trace:
System.Exception: An error was encountered while handling the remote login.
—> Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolException: Message contains error: ‘invalid_request’, error_description: ‘no connections enabled for the client’, error_uri: ‘error_uri is null’.
— End of inner exception stack trace —
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)