# Auth0 redirect doesn't work - Server Error (500) (via Django on Heroku)

**URL:** <https://community.auth0.com/t/auth0-redirect-doesnt-work-server-error-500-via-django-on-heroku/21135>\
**Category:** Get Help\
**Tags:** django, heroku, auth0\
**Created:** [February 9, 2019, 6:33pm UTC](https://community.auth0.com/t/auth0-redirect-doesnt-work-server-error-500-via-django-on-heroku/21135 "2019-02-09T18:33:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcoEDU](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marcoedu/32/10928_2.png) [@marcoEDU](https://community.auth0.com/u/marcoEDU)\
**Post date:** [February 9, 2019, 6:33pm UTC](https://community.auth0.com/t/auth0-redirect-doesnt-work-server-error-500-via-django-on-heroku/21135/1 "2019-02-09T18:33:46Z")

</div>

I can’t get Auth0 to work…

 ![12](https://global.discourse-cdn.com/auth0/original/2X/1/184dc6f2c4fd69247bcd15b68486511e88afb429.png)  
Current setup:  
Auth0 via Django, hosted on Heroku.  
Already checked the settings file, folder structure and auth0 script, but couldn’t find any issues…  
 ![03](https://global.discourse-cdn.com/auth0/original/2X/7/781a2161ab2f93bfeee5eff3bcea69081c5ebc7d.png)  
Algolia logs say login succeeded, so I assume something went wrong with the redirect. But even after adding Auth0 as an add-on to my Heroku machine (together with the settings variables), it still doesn’t work… after spending so much time on solving this issue, this starts to drive me nuts:(  
 ![29](https://global.discourse-cdn.com/auth0/original/2X/f/fcf3034e3d34e6e34d25fd1e2b43bce4f2356247.png)

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [February 11, 2019, 6:45pm UTC](https://community.auth0.com/t/auth0-redirect-doesnt-work-server-error-500-via-django-on-heroku/21135/3 "2019-02-11T18:45:55Z")

</div>

Hi there @marcoEDU, when you get a chance can you snag us a HAR file of the broken workflow along with your tenant name and DM them over to me? This will allow us to take a deeper look at what may be occurring right now. Thanks in advance!

> **[Generate and Analyze HAR Files](https://auth0.com/docs/troubleshoot/troubleshooting-tools/generate-and-analyze-har-files)**
>
> Learn how to troubleshoot with HAR files and steps to generate a HAR file.

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [March 2, 2019, 9:14am UTC](https://community.auth0.com/t/auth0-redirect-doesnt-work-server-error-500-via-django-on-heroku/21135/5 "2019-03-02T09:14:43Z")

</div>

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