Page MenuHomeSolus

Riot is unable to complete SSO due to missing scheme-handler
Closed, ResolvedPublic

Description

Hello
I installed Riot from the repositories and tried to login using Single Sign On. The way Riot handles this is opening a link to the browser to let you login there, and then you should get a riot:// link that sends you back to the desktop application.
However, the application from the repositories does not register itself as an handler for that "protocol", the link is ignored, and the login fails (in a quite cryptic way too... You simply get a black page in the browser and no error whatsoever, while Riot is just there waiting).
For me the fix was to add

MimeType=x-scheme-handler/riot;

to the desktop file (copied from the flatpak version) and then updating the desktop database, but maybe I'm missing something.
This is just a temporary fix, however, as it will be overwritten at the next update.

Event Timeline

elusian created this task.May 20 2020, 8:56 AM
Girtablulu triaged this task as Wishlist priority.
Girtablulu moved this task from Backlog to Improvement on the Software board.
Girtablulu added subscribers: Staudey, Girtablulu.

@Staudey can you have a look to add it to the desktop file we already ship?

Will do! Thank you for the report, @elusian.
I will create a little patch just for this. Before I wanted to also update Riot to 1.6.1, but that will take a little more effort because they split the repositories.

Thank you for the fast response and the patch!