This repository has been 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
Labels
A-SSO
Single Sign-On (maybe OIDC)
S-Tolerable
Minor significance, cosmetic issues, low or no impact to users.
T-Enhancement
New features, changes in functionality, improvements in performance, or user-facing enhancements.
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
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
Anything 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
Similar to:
synapse/synapse/rest/client/login.py
Line 148 in 98fd558
The text was updated successfully, but these errors were encountered: