Hi Team, I thought I'd share that I successfully built a long-consent app using NextJS using @ory/hydra-admin and Moralis, a blockchain api, to authenticate. It was an interesting exercise in stretching NextAuth.js by using callbacks and understanding what JS was serverside vs clientside. I'm probably not capturing the id_token meta properly (it's hardcoded for now), but I saw a few questions about using NextJS so I thought I'd share, k-thx.
https://github.com/MetaWarrior-Army/login-metawarrior-army