Django web app - how to stay logged in

Hi there,

I’ve just started using auth0 in a project and have a strange use case where I want to display my web app 24/7 on a TV which auto refreshes every half hour. Problem being after 1 month (the max allowed period) auth0 will auto logout and on next refresh will then sit at the login screen.

To implement auth0 in my django app I followed the instructions at: https://auth0.com/docs/quickstart/webapp/django/01-login

I have learnt a small bit about refresh tokens but I’m unsure on how I could implement these into the example code that I used in the above quickstart instructions.

Has anyone done this before or could point me in the right direction?

Thanks,
Joshua

Hi @joshendy,

Welcome to the Community!

How will the user authenticate on the TV? This sounds similar to a device flow use-case. Let me know if that solves this problem without having to work around too much.

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