ElegonE
Elegon
Jan 26

Unable to login (can't reach 127.0.0.1)

I'm hitting an error after spacetimedb redirects me to https://127.0.0.1:48732/oauth?code=______ (my oauth code)It appears the local server isn't running, or maybe it's on a different port? Difficult to debug. I thought it might just be an https/ssl issue because this is over localhost and the network status response is "net::ERR_SSL_PROTOCOL_ERROR", so I tried changing the callback url to http:// instead and that doesn't work either.Unable to login. I used the Discord oauth option on spacetimedb.
CompletedCompleted

Completed
changed status toCompleted·Feb 26, 2026
Jan 26, 2026

This ended up being some sort of browser issue. I'm not sure if the spacetime redirect url has https:// in it or if that's Chrome/Firefox redirecting to https. I tried running a curl request instead with http:// and it was successful @keone Based on your reply, i'm guessing the browser is swapping it over to an https ssl request.

Jan 26, 2026

I'm connected just fine

Jan 26, 2026

Hey thank you for reporting this, the port it's running on is 48732. I'd just tried to reproduce this bug on a second PC and can't seem to. Maybe this port is in use or your browser isn't liking the http site?