mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 00:54:47 -04:00
Add custom well-known (#13035)
Co-authored-by: David Robertson <david.m.robertson1@gmail.com>
This commit is contained in:
parent
ffe2464836
commit
0ef1307619
5 changed files with 68 additions and 1 deletions
|
@ -11,7 +11,6 @@
|
|||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import logging
|
||||
from typing import TYPE_CHECKING, Optional
|
||||
|
||||
|
@ -44,6 +43,14 @@ class WellKnownBuilder:
|
|||
"base_url": self._config.registration.default_identity_server
|
||||
}
|
||||
|
||||
if self._config.server.extra_well_known_client_content:
|
||||
for (
|
||||
key,
|
||||
value,
|
||||
) in self._config.server.extra_well_known_client_content.items():
|
||||
if key not in result:
|
||||
result[key] = value
|
||||
|
||||
return result
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue