Dash Flask React User Login

Hello, currently I am developing a Dash App and I built large parts of my Login/Register functionality with React. As I found out implementing user authentication in React and Flask is quite tricky and combining it with Dash seems impossible for me.

I now came to the conclusion that I setup my Loginpage as a standart Jinja serverside template and log the user in from there.
My Question is can somebody tell me how I have to setup my Dash App if I wanted to use flaskjwt and for example the code from this tutorial: How to add login authentication to a Flask and React application. - DEV Community

Or is there any possibility?

Do you have a requirement to use JWT? Here is an example that uses Flask separately for a login process.

2 Likes