matrix-rust-sdk icon indicating copy to clipboard operation
matrix-rust-sdk copied to clipboard

feat(ffi): Expose legacy SSO support infomation

Open ShadowRZ opened this issue 6 months ago • 1 comments

Currently Element X can't distinguish the cases where a homeserver only supports legacy SSO without OIDC (and password login isn't avaliable), and other server unreachable scenarios.

This patch exposes legacy SSO support infomation so that Element X side can give a dedicated error message when it encounters a homeserver that can only support legacy SSO.

  • [ ] Public API changes documented in changelogs (optional)

Signed-off-by: Yorusaka Miyabi [email protected]

ShadowRZ avatar Jun 12 '25 07:06 ShadowRZ

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.84%. Comparing base (39cf8b3) to head (0e15b95). Report is 4 commits behind head on main.

:white_check_mark: All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5222   +/-   ##
=======================================
  Coverage   88.83%   88.84%           
=======================================
  Files         334      334           
  Lines       91072    91072           
  Branches    91072    91072           
=======================================
+ Hits        80907    80910    +3     
+ Misses       6349     6347    -2     
+ Partials     3816     3815    -1     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Jun 12 '25 07:06 codecov[bot]