I need to implement an API with FastAPI and I would like to use a token based authentication like TokenAuthentication of Django Rest Framework offers. I would need to be able to generate a token within FastAPI and use it within an other Python app without the other app needing to authenticate via username/password.
Is there any package that offers such functionality?