element-hq / element-hq/matrix-authentication-service

Better callback to go back to the client

Open
#4,544 1 comment 4 reactions 0 assignees View on GitHub
A-Compatibility-Layer A-Next-Gen-Auth O-Frequent S-Major
Dominant language
Rust
Stars
280
Forks
111
Avg merge
3d 1h
Merged PRs (30d)
25

Description

Currently when we go back to the client, we do that through a redirect.

Problem is, sometimes that redirect fails, especially for native schemes, making it most of the times impossible to retry.

Instead, we should show a page which tries to open the client with a redirect, but also displays a button after a few seconds to open the client in case it did not work.

We could also on this page regularly ask the backend if the login finished or not and show a nice checkmark once the login succeeded

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.