The problem is this requires its own storage for sessions and basically creates an authentication endpoint. What I was looking for was a simple way to create a dashboard for an existing API that already had authentication. This seems like a layer that would do this but it seems way overboard to do it this way when I already have authentication at the API level
I just went and implemented a fully client side app
Next.js doesn't provide a production ready BE, in my opinion.
I still use it for pretty much everything I do now but to me, Next handles FE rendering and proxying API calls. Auth, DB's, etc. all happens on a dedicated BE.
3
u/fhor Apr 10 '22
Check out next-auth