Buuntu / fastapi-react

🚀 Cookiecutter Template for FastAPI + React Projects. Using PostgreSQL, SQLAlchemy, and Docker
MIT License
2.22k stars 349 forks source link

[FEATURE REQUEST] Authentication to use HttpOnly Cookie instead of Local Storage tokens #165

Open encryptblockr opened 3 years ago

encryptblockr commented 3 years ago

As we all know storing tokens in local storage is bad security Will be great to either change the authentication flow to use HttpOnly cookie as opposed to the local storage tokens

https://github.com/tiangolo/fastapi/issues/480