# No connections enabled for the client, but SAML connection is enabled

**URL:** <https://community.auth0.com/t/no-connections-enabled-for-the-client-but-saml-connection-is-enabled/62759>\
**Category:** Get Help\
**Created:** [May 13, 2021, 7:34pm UTC](https://community.auth0.com/t/no-connections-enabled-for-the-client-but-saml-connection-is-enabled/62759 "2021-05-13T19:34:16Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![wesley1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/wesley1/32/14589_2.png) [@wesley1](https://community.auth0.com/u/wesley1)\
**Post date:** [May 13, 2021, 7:34pm UTC](https://community.auth0.com/t/no-connections-enabled-for-the-client-but-saml-connection-is-enabled/62759/1 "2021-05-13T19:34:16Z")

</div>

Hello,

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](http://ASP.NET) Core: login sample app ([Auth0 ASP.NET Core MVC SDK Quickstarts: Login](https://auth0.com/docs/quickstart/webapp/aspnet-core/01-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.RemoteAuthenticationHandler`1.HandleRequestAsync()  
> at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)  
> at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

---

<div class="post-metadata">

**Author:** ![roger-borges](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/roger-borges/32/14599_2.png) [@roger-borges](https://community.auth0.com/u/roger-borges)\
**Post date:** [May 21, 2021, 9:17pm UTC](https://community.auth0.com/t/no-connections-enabled-for-the-client-but-saml-connection-is-enabled/62759/2 "2021-05-21T21:17:45Z")

</div>

I’m having this same issue with my new SAML connection. I can get it working by going to the SAML settings, then Login Experience, then checking “Display connection as a button”. The problem with this is I want a seamless transfer from application to my SAML SSO without the intermediate step of clicking an Auth0 button to get to the SSO. I’m even using a custom domain where the entire request chain takes place on the same root domain.

Also, if you go in Auth0 to Monitoring → Logs, you should see your error there too. Mine looks like this (with some details redacted):

```
{
  "date": "2021-05-21T21:08:57.032Z",
  "type": "f",
  "description": "no connections enabled for the client",
  "connection_id": "",
  "client_id": "{removed}",
  "client_name": "AFS Tools",
  "ip": "169.236.236.7",
  "user_agent": "Chrome 90.0.4430 / Mac OS X 10.15.7",
  "details": {
    "body": {},
    "qs": {
      "redirect_uri": "https://{removed}",
      "client_id": "{removed}"",
      "audience": "https://{removed}"",
      "scope": "openid profile email",
      "response_type": "code",
      "response_mode": "query",
      "state": "TlUwbnIyTnJZV2J3UUxtUC51aFdyU0JJUFVLZHNRTzRGOGdZVTZTflBLcQ==",
      "nonce": "{removed}",
      "code_challenge": "{removed}",
      "code_challenge_method": "S256",
      "auth0Client": "{removed}"
    },
    "error": {
      "message": "no connections enabled for the client",
      "oauthError": "no connections enabled for the client",
      "type": "invalid_request",
      "uri": null
    },
    "session_id": "9HcPWfgJ45w_pHQLUjOXfy2hQmzCacSt",
    "riskAssessment": null
  },
  "hostname": "{removed}",
  "audience": "{removed}",
  "scope": [
    "openid",
    "profile",
    "email"
  ],
  "auth0_client": {
    "name": "@auth0/auth0-angular",
    "version": "1.4.0"
  },
  "log_id": "90020210521210901940429323720986967569746751436739313666",
  "_id": "90020210521210901940429323720986967569746751436739313666",
  "isMobile": false
}

```

---

<div class="post-metadata">

**Author:** ![wesley1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/wesley1/32/14589_2.png) [@wesley1](https://community.auth0.com/u/wesley1)\
**Post date:** [May 28, 2021, 8:24pm UTC](https://community.auth0.com/t/no-connections-enabled-for-the-client-but-saml-connection-is-enabled/62759/3 "2021-05-28T20:24:03Z")

</div>

Hello Roger, I confirm I have the same error in the monitoring logs.

---

<div class="post-metadata">

**Author:** ![wesley1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/wesley1/32/14589_2.png) [@wesley1](https://community.auth0.com/u/wesley1)\
**Post date:** [May 28, 2021, 9:03pm UTC](https://community.auth0.com/t/no-connections-enabled-for-the-client-but-saml-connection-is-enabled/62759/4 "2021-05-28T21:03:14Z")

</div>

I found a workaround : disable “New” Universal Login to choose the “classic” one.

But it means that we cannot choose the New Universal Login.

@Auth0Team are you aware of this bug ? Thank you !

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [May 31, 2021, 8:35am UTC](https://community.auth0.com/t/no-connections-enabled-for-the-client-but-saml-connection-is-enabled/62759/5 "2021-05-31T08:35:25Z")

</div>

Thanks for reporting that will relay it to appropriate team!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [August 17, 2021, 1:25pm UTC](https://community.auth0.com/t/no-connections-enabled-for-the-client-but-saml-connection-is-enabled/62759/6 "2021-08-17T13:25:14Z")

</div>

Have you tried switching back again to New? For some of our customers it worked we’re still researching the root cause

---

<div class="post-metadata">

**Author:** ![wesley1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/wesley1/32/14589_2.png) [@wesley1](https://community.auth0.com/u/wesley1)\
**Post date:** [August 17, 2021, 3:05pm UTC](https://community.auth0.com/t/no-connections-enabled-for-the-client-but-saml-connection-is-enabled/62759/7 "2021-08-17T15:05:07Z")

</div>

I received an email from your dev support team :  
To use the New universal login :  
“You will have to enable the “Display connection as a button”, you can do this from your SAML connection \> Login experience tab in the Dashboard.”

Then it worked.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [August 20, 2021, 8:24am UTC](https://community.auth0.com/t/no-connections-enabled-for-the-client-but-saml-connection-is-enabled/62759/8 "2021-08-20T08:24:23Z")

</div>

Perfect! Thanks for sharing it with the rest of community!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [August 26, 2021, 9:19am UTC](https://community.auth0.com/t/no-connections-enabled-for-the-client-but-saml-connection-is-enabled/62759/9 "2021-08-26T09:19:23Z")

</div>


