element-hq / element-hq/matrix-authentication-service
Better callback to go back to the client
Open
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
Assessment
This issue has not been assessed yet.