Auth.js (v5) with Docker?

Did anyone successfully implement the latest Auth.js version in production with Docker? I have tried to upgrade to the beta version with the Drizzle Adapter, but when using any provider to sign in it basically redirects to the Docker internal host which is I don't know if this is some kind of issue with Auth.js itself or Next.JS. So basically setting the NEXTAUTH_URL and/or AUTH_URL environment variable to the production url at least sets the correct redirect url on the provider page, but after a successful sign in you still get redirected to Maybe I am missing some kind of variable? I found this related discussion on GH, but without any real solution: If you have any suggestions or managed to solve this, please let me know 🙏
AuthJS do not redirect to set URL, instead it redirect to Docker co...
Environment System: OS: Windows 10 10.0.19045 CPU: (12) x64 Intel(R) Core(TM) i7-9850H CPU @ 2.60GHz Memory: 7.73 GB / 31.71 GB Binaries: Node: 20.5.0 - C:\Program Files\nodejs\node.EXE npm: 9.8.0 ...
0 Replies
No replies yetBe the first to reply to this messageJoin