mirror of
https://github.com/matrix-org/synapse.git
synced 2025-01-30 20:05:47 +00:00
MSC2965: OIDC Provider discovery via well-known document
This commit is contained in:
parent
8f576aa462
commit
e82ec6d008
@ -44,6 +44,15 @@ class WellKnownBuilder:
|
|||||||
"base_url": self._config.registration.default_identity_server
|
"base_url": self._config.registration.default_identity_server
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if self._config.auth.oauth_delegation_enabled:
|
||||||
|
result["org.matrix.msc2965.authentication"] = {
|
||||||
|
"issuer": self._config.auth.oauth_delegation_issuer
|
||||||
|
}
|
||||||
|
if self._config.auth.oauth_delegation_account != "":
|
||||||
|
result["org.matrix.msc2965.authentication"][
|
||||||
|
"account"
|
||||||
|
] = self._config.auth.oauth_delegation_account
|
||||||
|
|
||||||
if self._config.server.extra_well_known_client_content:
|
if self._config.server.extra_well_known_client_content:
|
||||||
for (
|
for (
|
||||||
key,
|
key,
|
||||||
|
Loading…
Reference in New Issue
Block a user