reworkd / AgentGPT

🤖 Assemble, configure, and deploy autonomous AI Agents in your browser.
https://agentgpt.reworkd.ai
GNU General Public License v3.0
30.72k stars 9.18k forks source link

Local Auth hardcoded to Port 3000 #1503

Closed tilllt closed 4 months ago

tilllt commented 4 months ago

Please check that this issue hasn't been reported before.

Expected Behavior

When i change the Nextauth port in ./next/.env the local auth should still work

Current behaviour

When i change the Nextauth port in ./next/.env the local auth does not work.

All the default ports in the .env files on my system are either occupied or not opened by the firewall, so i have to use 8000-9000 for all the ports. when moving the backend to 8016 and the frontend to 8017, changing the nextauth callback url to anything but 3000 breaks the local login. i dont want to configure external logins, i just want to configure 8017 as the local callback urls port.

Steps to reproduce

configure the front and backend to non standard url, i.e. frontend 8016, backend 8017 ... Change the nextauth callback url to the non-standard port: login breaks

Possible solution

I have no idea

Which Operating Systems are you using?

Acknowledgements