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 rest API for redirect is loaded if no SSO is configured #15402
Copy link
Copy link
Closed
Labels
A-SSOSingle Sign-On (maybe OIDC)Single Sign-On (maybe OIDC)S-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
Rest api is loaded and can be called if no SSO is configured.
API returns an error "Homeserver not configured for SSO." But I can not see why the server needs to be run this api.
Steps to reproduce
- setup a new homeserver
- request /_matrix/client/r0/login/sso/redirect?redirectUrl=www.example.org
Homeserver
another
Synapse Version
1.78.0
Installation Method
Docker (matrixdotorg/synapse)
Database
PostgreSQL
Workers
Single process
Platform
K8s
Configuration
only password login
Relevant log output
NoneAnything else that would be useful to know?
Probably there could be a check here for SSO capabilities:
synapse/synapse/rest/client/login.py
Line 675 in 98fd558
| SsoRedirectServlet(hs).register(http_server) |
Similar to:
synapse/synapse/rest/client/login.py
Line 148 in 98fd558
| if self.cas_enabled or self.saml2_enabled or self.oidc_enabled: |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-SSOSingle Sign-On (maybe OIDC)Single Sign-On (maybe OIDC)S-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.