Bug 473620 - Unable to authenticate
Summary: Unable to authenticate
Status: RESOLVED FIXED
Alias: None
Product: Tokodon
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-22 02:46 UTC by Justin Zobel
Modified: 2023-10-19 19:51 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Zobel 2023-08-22 02:46:15 UTC
Using git master.

Have installed the desktop file into ~/.local/share/applications and edited the exec line to match and can start Tokodon

Once I enter my instance and open the auth URL in Firefox I click Authorize in the web interface and nothing happens.

If I try in Angelfish it does not accept the URL as there are spaces in it, it instead searches in DuckDuckGo.

If I remove the other scopes and only have one (therefore no space) it works fine.

Does not work in Angelfish: https://toot.io/oauth/authorize?client_id=client_id_here&redirect_uri=tokodon://oauth&response_type=code&scope=read write follow 

Does work in Angelfish: https://toot.io/oauth/authorize?client_id=client_id_here&redirect_uri=tokodon://oauth&response_type=code&scope=read
Comment 1 Justin Zobel 2023-08-22 02:53:57 UTC
Replacing the spaces in the scopes with %20 made it work in Angelfish so it might be worth doing this for the URL so all browsers understand it.
Comment 2 Joshua Goins 2023-10-19 19:51:26 UTC
This is technically no longer an issue now that the authorization happens from within Tokodon. I'll reinvestigate if and when we allow opening the authorization link externally again (although to be fair, Angelfish should really fix that on their end too :D)