This repository was archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
SSO login via CAS create user with registration disabled #15775
Copy link
Copy link
Closed
Labels
A-SSOSingle Sign-On (maybe OIDC)Single Sign-On (maybe OIDC)O-UncommonMost users are unlikely to come across this or unexpected workflowMost users are unlikely to come across this or unexpected workflowS-TolerableMinor significance, cosmetic issues, low or no impact to users.Minor significance, cosmetic issues, low or no impact to users.T-EnhancementNew features, changes in functionality, improvements in performance, or user-facing enhancements.New features, changes in functionality, improvements in performance, or user-facing enhancements.
Description
Description
If a user logs in with SSO (CAS) but is not registered in Matrix's user database, he should get an error warning that he is not authorized to access the service (401).
However, Matrix will automatically register the user regardless of the registration disabled parameter, then let him connect to the server and use the service.
Steps to reproduce
Matrix config homeserver.yaml :
enable_registration: false
cas_config:
enabled: true
server_url: "https://cas.mydomain.com"
Homeserver
Private server
Synapse Version
1.85.0
Installation Method
Debian packages from packages.matrix.org
Database
PostgreSQL
Workers
Single process
Platform
KVM / Debian 11
Configuration
No response
Relevant log output
Not relevant ?Anything else that would be useful to know?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-SSOSingle Sign-On (maybe OIDC)Single Sign-On (maybe OIDC)O-UncommonMost users are unlikely to come across this or unexpected workflowMost users are unlikely to come across this or unexpected workflowS-TolerableMinor significance, cosmetic issues, low or no impact to users.Minor significance, cosmetic issues, low or no impact to users.T-EnhancementNew features, changes in functionality, improvements in performance, or user-facing enhancements.New features, changes in functionality, improvements in performance, or user-facing enhancements.