MushroomMaula / fastapi_login

FastAPI-Login tries to provide similar functionality as Flask-Login does.
https://pypi.org/project/fastapi-login
MIT License
639 stars 58 forks source link

Logout route #87

Closed gurbaaz27 closed 2 years ago

gurbaaz27 commented 2 years ago

Hi! I am new to fastapi and came across this useful library, which now I am using to implement user login and authentication. I also want to create a route for user logout, and wanted to know how to do that? Would that require doing something with LoginManager, as it is responsible for generating access_token?

MushroomMaula commented 2 years ago

This is not directly supported using JSON web tokens. Have a look here