This library supports csrf protection when using cookies. There's csrf-read part in tokens.py and decorators.py. But, when I looked into source code, I couldn't find csrf-write part, and its' impossible to write csrf in create_access_token and create_refresh_token functions.
Proposed Solution
It would be solved if we can add csrf claims when encoding jwt.
Problem
This library supports csrf protection when using cookies. There's csrf-read part in tokens.py and decorators.py. But, when I looked into source code, I couldn't find csrf-write part, and its' impossible to write csrf in
create_access_token
andcreate_refresh_token
functions.Proposed Solution
It would be solved if we can add csrf claims when encoding jwt.