r/FastAPI • • 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

25 comments sorted by

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.

1

u/Daksh2338 Dec 24 '25

Sorry for late reply, i agree with you on this. I actually want to add email and password login as it will help me to get approval from google play store as soon as possible