DEV Community

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

Collapse
 
totally_chase profile image
Phantz

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!