r/FastAPI • u/5dots • Aug 29 '24
Question fastapi auth in production
I'm developing a web app with nextjs frontend and fastapi backend. Currently I'm using fastapi auth for testing end to end flow of the app. I'm trying to figure out if fastapi jwt based auth can be used in production. Is it a good practice to use fastapi auth in production system? How does it compare with managed auth services like Nextauth, auth0 or clerk? What would you recommend?
Thanks!
15
Upvotes
View all comments
Show parent comment
1
u/aliparpar Aug 30 '24
Depends on whether you want to pay for these services. I’m happy to take the pain of building something but not be locked to a usage billing that could suddenly double in pricing in two years or I if get a DDOS attacked or massive surge in demand drop a massive bill on my lap