Xyphyn / photon

A replacement for lemmy-ui with more features, a better design, and more customizability.
https://phtn.app
GNU Affero General Public License v3.0
377 stars 43 forks source link

Can no longer login. #361

Open airjer opened 3 months ago

airjer commented 3 months ago

Describe the bug One of the recent updates forced a logout and I'm needing to log back in. It states the user can't be found and asks if my instance is down.

To Reproduce (if applicable) Just trying to add an account.

Expected behavior Expected the account to log in and be added as an option.

Screenshots image

Versions

Xyphyn commented 3 months ago

What version is your instance running? Photon recently dropped support for 0.18.x

Xyphyn commented 3 months ago

If you still need 0.18 support you can use this old deployment:

https://photon-5j4gkm645-xylights-projects.vercel.app

airjer commented 3 months ago

I'm on the latest. 0.19.5

Xyphyn commented 3 months ago

Could you open network devtools and show me the error?

F12 > Network > Fetch/XHR -- Try to login > Click the failed request > Response

airjer commented 3 months ago

Not 100% on where I should be looking in safari as those button combos don't work but is this what you're wanting?

Failed to load resource: the server responded with a status of 400 ()

dnet890 commented 3 months ago

I concur and I have same issue and I use this as a workaround https://photon-5j4gkm645-xylights-projects.vercel.app/ But for (phtn.app), when I switched from brave to Firefox it works again. Is this related to browser?

Xyphyn commented 3 months ago

Are there any public instances where this regularly occurs that I can test?

dnet890 commented 3 months ago

usually I use feddit.nl

Xyphyn commented 3 months ago

I'm gonna push an update that will allow you to login, but some things might break. This issue will remain open until I find a fix

Xyphyn commented 3 months ago

Did the temporary patch work?

airjer commented 3 months ago

It seems to have allowed me to login. There were still numerous errors, one being unable to fetch user. Also none of the admin stuff is accessible.

The user also shows as undefined.

image

Xyphyn commented 3 months ago

What error messages appear specifically?