Spring security redirects to a 404 during OAuth2 flow #351

Closed
opened 2024-12-14 20:15:36 -08:00 by scionaltera · 1 comment
scionaltera commented 2024-12-14 20:15:36 -08:00 (Migrated from github.com)

When going from logged out to logged in via GitHub it redirects via a 304 to a sw.js that does not exist. You can simply change the URL in your browser to go to http://localhost:8080/ and it will take you into the game because you have successfully logged in at that point, but it's annoying and not very user friendly.

This is likely to be a bug in Spring or GitHub and not in Agony Forge, but I want to track it here in case someone else runs into it and can't figure out what to do.

When going from logged out to logged in via GitHub it redirects via a 304 to a `sw.js` that does not exist. You can simply change the URL in your browser to go to `http://localhost:8080/` and it will take you into the game because you have successfully logged in at that point, but it's annoying and not very user friendly. This is likely to be a bug in Spring or GitHub and not in Agony Forge, but I want to track it here in case someone else runs into it and can't figure out what to do.
scionaltera commented 2024-12-15 11:30:38 -08:00 (Migrated from github.com)

Figured this out. It was an artifact stuck in my browser from a different project that also used the localhost:8080 URL and had a service worker.

Figured this out. It was an artifact stuck in my browser from a different project that also used the localhost:8080 URL and had a service worker.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
agony-forge/agonyforge#351
No description provided.