DEV Community


Discussion on: Python: Using JWT in cookies with a flask app and restful API!

totally_chase profile image
Phantz Author

This tutorial focuses on a centralized backend solution to tackle JWT based authentication. Therefore it does not usually return a JSON response containing the tokens.

You'd ideally want to follow the official tutorials where the return a jsonify object with the tokens, they set up an API that is easier to work with using Postman. This might be helpful!