Hi, I’m using Auth0 as a provider under next-auth, with Nextjs, Prisma, and Postgres as the techstack. Everything was working on localhost but after deploying to heroku, auth0 no longer connects to the database. The users still get saved into auth0 and can be viewed under user management but on localhost it would also log an entry into the users table in the database. I’ve also tried connecting auth0 to the custom heroku database using action scripts but I get a 400 error for some reason.
I’m pretty new to auth0, heroku, and nextjs. Please let me know if there’s any snippets I can provide. What is the best way to implement auth0 on heroku with a persistent db?