-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
matrix-org/matrix-react-sdk
#10998Labels
A-AuthenticationO-UncommonMost users are unlikely to come across this or unexpected workflowMost users are unlikely to come across this or unexpected workflowS-CriticalPrevents work, causes data loss and/or has no workaroundPrevents work, causes data loss and/or has no workaroundT-DefectX-Release-Blocker
Description
Steps to reproduce
- A synapse server with a single oidc_provider configured as only identity provider.
- The
.well-known
options form.authentication
also point to the same identity provider. - Instead of "Continue with click on "Create account" below.
- A redirect to the following URL happens:
https://[...]/_matrix/client/r0/login/sso/redirect/register?redirectUrl=https%3A%2F%2Fc[...]%2F
Outcome
What did you expect?
A redirect to https://[...]/_matrix/client/r0/login/sso/redirect?redirectUrl=https%3A%2F%2Fc[...]%2F
note the missing register in the path.
What happened instead?
Synapse interprets the register as the idp id and fails at this point: https://github.com/matrix-org/synapse/blob/ce00e57a2acc7c06d0e3bf4c9880dc830c6938ef/synapse/handlers/sso.py#L319
returning
{"errcode":"M_NOT_FOUND","error":"Unknown identity provider"}
Operating system
Any
Browser information
Any
URL for webapp
develop.element.io (just as a test if it can be reproduced there)
Application version
Custom deployed: version: 1.11.25 Olm version: 3.2.12
Homeserver
Synapse 1.79.0.
Will you send logs?
No
felix-two-tonefelix-two-tone
Metadata
Metadata
Assignees
Labels
A-AuthenticationO-UncommonMost users are unlikely to come across this or unexpected workflowMost users are unlikely to come across this or unexpected workflowS-CriticalPrevents work, causes data loss and/or has no workaroundPrevents work, causes data loss and/or has no workaroundT-DefectX-Release-Blocker