I have embedded setup with auth0-js in my NextJs application (app router). Integrated authentication flows as described in the auth0-js docs and everything works properly. But, all the authentication process are done in the client components. I want to integrate auth in the server session like next-auth to improve security. Is there a way to integrate auth0-js with next-auth? Or, how can I implement auth in the server components. Please help nerds.
Can I ask how you did the emdedded authentication? Are you using username/password? How do you handle verifying access tokens and what not?