Bug 473620

Summary: Unable to authenticate
Product: [Applications] Tokodon Reporter: Justin Zobel <justin.zobel>
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: carl, josh
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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)