Closed lofidevops closed 5 years ago
It should normally open a new tab in your web browser with the code to copy/paste, but I guess it is not working because of containerization…
Thanks for the explanation! I've upgraded (downgraded?) my query to a bug report.
I can add accounts with the flatpak (container), the problem may be something else. Do you get an error message or something? There is a bug (#74) that causes a "Cannot resolve hostname" error when a instance URL starting with https://
is entered. There is a work around for it (https://github.com/bleakgrey/tootle/issues/74#issuecomment-423594945).
I've updated my original report with steps to reproduce the issue (using the workaround mentioned, thanks!), and a traceback.
Received a Flatpak update today (still seems to be marked 0.1.5). No significant change in the traceback (updated above).
What command-line test can I use that matches the mechanism used to open the browser? What URL should I be accessing?
If I'm reading the source correctly, I'm looking for a command-line equivalent of Desktop.open_uri("https://mastodon.social/oauth/authorize?parameters")
The following attempts work as expected:
gio open https://mastodon.social
open https://mastodon.social
The following attempt works:
gio open https://mastodon.social/oauth/authorize
...but the full URL (based on the source) fails:
gio open "https://mastodon.social/oauth/authorize/?scope=read%20write%20follow&response_type=code&redirect_uri=urn:ietf:wg:oauth:2.0:oob&client_id=x"
...with an error in custom script on my side. I will look into this and see if I can reproduce on my side without the customisation.
This was an error in my custom script, unrelated to Tootle.
I've installed Tootle from Flathub. On launch it prompts for an instance domain, then a code. I know my instance domain, but what "code" should I be providing? The tooltip just says "Paste your authorization code here".
Steps to reproduce:
flatpak run com.github.bleakgrey.tootle
What should happen:
What happens instead: