Stop googling for a solution and just use this. This is likely exactly what you need. Clerk helps you avoid the hassle of having to deal with authentication both on the BE and the FE. It is not worth opting for another free/open-source solution as the free tier on Clerk is quite generous and will help you get started.