# Django tutorial doesn't work

**URL:** <https://community.auth0.com/t/django-tutorial-doesnt-work/110437>\
**Category:** Get Help\
**Tags:** connections, saml-enterprise-connection\
**Created:** [July 3, 2023, 6:43am UTC](https://community.auth0.com/t/django-tutorial-doesnt-work/110437 "2023-07-03T06:43:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Koki-1205](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@Koki-1205](https://community.auth0.com/u/Koki-1205)\
**Post date:** [July 3, 2023, 6:43am UTC](https://community.auth0.com/t/django-tutorial-doesnt-work/110437/1 "2023-07-03T06:43:47Z")

</div>

I did a django tutorial using the following URL.  
（[https://auth0.com/docs/quickstart/webapp/django/01-login）](https://auth0.com/docs/quickstart/webapp/django/01-login%EF%BC%89)

But, that isn’t work.

After completing the tutorial setup and clicking the login link, I get an error screen saying “invalid\_request: no connections enabled for the client”.

Do you know what could be causing this…

---

<div class="post-metadata">

**Author:** ![marcelina.barycka](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marcelina.barycka/32/56162_2.png) [@marcelina.barycka](https://community.auth0.com/u/marcelina.barycka)\
**Post date:** [July 3, 2023, 11:47am UTC](https://community.auth0.com/t/django-tutorial-doesnt-work/110437/3 "2023-07-03T11:47:10Z")

</div>

Hey there, welcome to Auth0!

Let’s start by verifying the connections set for the client app (your python regular web app) in your Auth0 tenant.

1. In your affected Auth0 tenant (you have 3 tenants now), please navigate to your Python regular web app and under the “Connections” tab, please allow the required connections.

2. Please make sure that in the `.env file` of your python project, you provided the credentials to the right tenant.

Please let me know if that helped, otherwise, happy to dive deeper into that together!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [July 17, 2023, 11:48am UTC](https://community.auth0.com/t/django-tutorial-doesnt-work/110437/4 "2023-07-17T11:48:08Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
