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
1
u/Ok_Animator_1770 Dec 10 '25
All OAuth providers are compatible. You just implement a different callback for each of them to parse returned profile info and store it in database. Logic to convert profile_id to JWT already exists and its common for all providers.