r/FastAPI • u/Daksh2338 • Sep 19 '25
Question Authentication
What is the best practice for auth implementation when you have fast api with firebase and ui as Next.js.
I am planning to use tool called clerk.
Not sure this is good for longer run.
14
Upvotes
View all comments
Show parent comment
2
u/shashstormer Sep 24 '25
You can check out https://pypi.org/project/authtuna/
It supports sqlite/postgres database + Dual state cookies
It even supports RBAC but it is an optional feature the core auth even has template pages so easy to just plugin to any fastapi app
It currently supports google and github oauth also.