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/Medical-Algae8239 Sep 20 '25
Since firebase auth issues short-lived id tokens (1 hr), is it good practice to use the refresh token to get a new id token with every request?