trunks-social / trunks-public

Issue tracker project
43 stars 3 forks source link

Error while logging in #157

Open akirk opened 1 year ago

akirk commented 1 year ago

I have a WordPress plugin called Enable Mastodon Apps that allows using Mastodon clients with your WordPress site. Unfortunately, (alpha.)trunks.social doesn't work. It reports "Error while logging in" without further details.

It successfully registers an app (in api/v1/apps) but doesn't try to log the user in, it doesn't even make a request to oauth/token. Would you be able to provide a more useful error message (maybe in the console) so that I can understand what part of the api/v1/apps response trunks doesn't like? Thanks!

Decad3nce commented 1 year ago

This is likely because I open an iFrame for the OAuth flow - I'm looking to migrate away from that and that should also resolve this bug.

gobborg commented 1 month ago

Not sure if a new issue is warranted for this, or if it's operator error. When trying to log in on webapp, the oauth flow page pops up, I authorize, and then nothing seems to happen. I don't seem to be logged in via the trunks client. I tried on 2 instances, both of which trunks was able to query and trigger the oauth flow.