Invalid OIDC redirect URI on desktop #1889
Labels
A-SSO
O-Uncommon
Most users are unlikely to come across this or unexpected workflow
S-Critical
Prevents work, causes data loss and/or has no workaround
S-Major
Severely degrades major functionality or product features, with no satisfactory workaround
T-Defect
Steps to reproduce
feature_oidc_native_flow
in config.jsonOutcome
What did you expect?
Client to be registered successfully
What happened instead?
Client registration fails due to invalid redirect URI and the client falls back to compatibility SSO
Additional details
The redirect URI is
io.element.desktop://vector/webapp/
, which includesvector
as the authority part due to the double slash.According to Section 7.1 of RFC8252:
The correct redirect URI would be
io.element.desktop:/vector/webapp/
Operating system
Arch Linux
Application version
Element version: 1.11.73 Crypto version: Rust SDK 0.7.1 (431263d), Vodozemac 0.6.0
How did you install the app?
https://archlinux.org/packages/extra/x86_64/element-desktop/
Homeserver
Synapse 1.112.0, matrix-authentication-service v0.10.0-rc.0
Will you send logs?
No
The text was updated successfully, but these errors were encountered: