cheeaun / phanpy

A minimalistic opinionated Mastodon web client
https://phanpy.social
MIT License
1.03k stars 97 forks source link

Cross-Origin Request error on account login using a Pixelfed.fr account #503

Closed AdamasFR closed 5 months ago

AdamasFR commented 5 months ago

Describe the bug A clear and concise description of what the bug is.

When login from the instance Pixelfed.fr on both dev.phanpy.social and phanpy.social [2024.04.17.b6cf53c], there is a Cross-Origin Request error in the console and the interface does not load.

To Reproduce Steps to reproduce the behavior:

  1. On the onboarding screen, select login
  2. Enter the instance adress 'pixelfed.fr'
  3. On pixelfed.fr, enter with a user
  4. See error in console

Expected behavior Phanpy should allow the connection to any Pixelfed instance.

Screenshots image image

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

cheeaun commented 5 months ago

I see, thanks for reporting. It seems like there's no new Pixelfed version release with the fix for this yet. The latest release was v0.11.13 (March 5) and the fix was added on March 18. This probably means that pixelfed.social (the instance I'm testing on) is running on the latest changes instead of stable releases.

CORS issue (Cross-Origin Request error) is something that client-side web apps can't fix, so will need to wait for a new Pixelfed release for pixelfed.fr to upgrade to, then the login should work.

Sorry for prematurely announcing Pixelfed support on Phanpy πŸ™‡β€β™‚οΈ

AdamasFR commented 5 months ago

Don't be sorry. πŸ™ I wouldn't have thought that Pixelfed.social was not running on stable either. They seem to like risk. ☺️

Thanks for your work on this excellent client!

AdamasFR commented 5 months ago

I can now report that I was able to add my pixelfed.fr account in Phanpy! Congrats and thanks for the good software!