metabolist / metatext

A free, open-source iOS Mastodon client.
https://metabolist.org/metatext
GNU General Public License v3.0
726 stars 101 forks source link

Cannot edit social.vivaldi.net profile or account settings from Metatext #189

Open AlternateRT opened 2 years ago

AlternateRT commented 2 years ago

Describe the bug When trying to edit my profile or my account settings from Metatext, the app will ask me that it "want's to use 'vivaldi.net' to sign in". After clicking continue, everything will seem as normal, but once the page loads, a 404 page is encountered. Inspecting the url Metatext tried to connect to vivaldi.net/auth/edit instead of social.vivaldi.net/auth/edit.

To Reproduce Steps to reproduce the behavior:

  1. Click on the profile icon of the top left corner.
  2. Select either "edit profile" or "account settings".
  3. When prompted that Metatext wants to use "vivaldi.net" to sign in, click continue.

Expected behavior Clicking on "edit profile" or "account settings" should open the correct page in the web view for social.vivaldi.net.

Device information:

Additional context Per a conversation with the administrators of social.vivaldi.net, they believe that the problem arises because Metatext is not checking if the web_domain and local_domain are different as it is in their case.

daenney commented 2 years ago

I seem to hit a similar bug, but it's a bit weirder. In my case it just goes "wants to use 'https' to sign in" and then tries to load "https" in a browser. Which goes nowhere.

It's a little weird as some things work, like viewing my profile, but trying to edit it or account settings triggers this behaviour. I can edit my profile etc. just fine when using Tusky, so I'm guessing the way Metatext is trying to build the URL for these paths isn't working as expected.

This happens on GoToSocial: superseriousbusiness/gotosocial#1100

daenney commented 2 years ago

The 1.7.0 release has fixed the URLs that Metatext builds up being incorrect. Things are working as expected now.