synapse/synapse/config
Erik Johnston a986f86c82
Correctly handle OIDC config with no `client_secret` set (#16806)
In previous versions of authlib using `client_secret_basic` without a
`client_secret` would result in an invalid auth header. Since authlib
1.3 it throws an exception.

The configuration may be accepted in by very lax servers, so we don't
want to deny it outright. Instead, let's default the
`client_auth_method` to `none`, which does the right thing. If the
config specifies `client_auth_method` and no `client_secret` then that
is going to be bogus and we should reject it
2024-01-10 17:16:49 +00:00
..
__init__.py Update license headers 2023-11-21 15:29:58 -05:00
__main__.py Update license headers 2023-11-21 15:29:58 -05:00
_base.py Update book location 2023-12-13 16:15:22 +00:00
_base.pyi Re-type config paths in `ConfigError`s to be `StrSequence`s (#15615) 2023-05-18 11:11:30 +01:00
_util.py Update license headers 2023-11-21 15:29:58 -05:00
account_validity.py Update book location 2023-12-13 16:15:22 +00:00
api.py Update book location 2023-12-13 16:15:22 +00:00
appservice.py Update license headers 2023-11-21 15:29:58 -05:00
auth.py Update license headers 2023-11-21 15:29:58 -05:00
background_updates.py Update license headers 2023-11-21 15:29:58 -05:00
cache.py Update license headers 2023-11-21 15:29:58 -05:00
captcha.py Update license headers 2023-11-21 15:29:58 -05:00
cas.py Update license headers 2023-11-21 15:29:58 -05:00
consent.py Update license headers 2023-11-21 15:29:58 -05:00
database.py Update license headers 2023-11-21 15:29:58 -05:00
emailconfig.py Update book location 2023-12-13 16:15:22 +00:00
experimental.py Merge remote-tracking branch 'gitlab/clokep/license-license' into new_develop 2023-12-13 15:11:56 +00:00
federation.py Update license headers 2023-11-21 15:29:58 -05:00
homeserver.py Update license headers 2023-11-21 15:29:58 -05:00
jwt.py Update license headers 2023-11-21 15:29:58 -05:00
key.py Merge remote-tracking branch 'gitlab/clokep/license-license' into new_develop 2023-12-13 15:11:56 +00:00
logger.py Update book location 2023-12-13 16:15:22 +00:00
metrics.py Merge remote-tracking branch 'gitlab/clokep/license-license' into new_develop 2023-12-13 15:11:56 +00:00
modules.py Update license headers 2023-11-21 15:29:58 -05:00
oembed.py Update license headers 2023-11-21 15:29:58 -05:00
oidc.py Correctly handle OIDC config with no `client_secret` set (#16806) 2024-01-10 17:16:49 +00:00
password_auth_providers.py Update license headers 2023-11-21 15:29:58 -05:00
push.py Update license headers 2023-11-21 15:29:58 -05:00
ratelimiting.py Update license headers 2023-11-21 15:29:58 -05:00
redis.py Update license headers 2023-11-21 15:29:58 -05:00
registration.py Update license headers 2023-11-21 15:29:58 -05:00
repository.py Update license headers 2023-11-21 15:29:58 -05:00
retention.py Update license headers 2023-11-21 15:29:58 -05:00
room.py Update license headers 2023-11-21 15:29:58 -05:00
room_directory.py Update license headers 2023-11-21 15:29:58 -05:00
saml2.py Update license headers 2023-11-21 15:29:58 -05:00
server.py Update book location 2023-12-13 16:15:22 +00:00
server_notices.py Merge remote-tracking branch 'gitlab/clokep/license-license' into new_develop 2023-12-13 15:11:56 +00:00
spam_checker.py Update book location 2023-12-13 16:15:22 +00:00
sso.py Update book location 2023-12-13 16:15:22 +00:00
stats.py Update license headers 2023-11-21 15:29:58 -05:00
third_party_event_rules.py Update license headers 2023-11-21 15:29:58 -05:00
tls.py Update license headers 2023-11-21 15:29:58 -05:00
tracer.py Update license headers 2023-11-21 15:29:58 -05:00
user_directory.py Update license headers 2023-11-21 15:29:58 -05:00
voip.py Update license headers 2023-11-21 15:29:58 -05:00
workers.py Update book location 2023-12-13 16:15:22 +00:00