mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-29 21:52:26 +00:00
Remove openid resource from default config
Instead document it commented out. Signed-off-by: Jason Robinson <jasonr@matrix.org>
This commit is contained in:
parent
d39b7b6d38
commit
0516dc4d85
@ -151,7 +151,7 @@ class ServerConfig(Config):
|
|||||||
"compress": gzip_responses,
|
"compress": gzip_responses,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"names": ["federation", "openid"],
|
"names": ["federation"],
|
||||||
"compress": False,
|
"compress": False,
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -170,7 +170,7 @@ class ServerConfig(Config):
|
|||||||
"compress": gzip_responses,
|
"compress": gzip_responses,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"names": ["federation", "openid"],
|
"names": ["federation"],
|
||||||
"compress": False,
|
"compress": False,
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -328,9 +328,14 @@ class ServerConfig(Config):
|
|||||||
# that can do automatic compression.
|
# that can do automatic compression.
|
||||||
compress: true
|
compress: true
|
||||||
|
|
||||||
- names: [federation, openid] # Federation APIs
|
- names: [federation] # Federation APIs
|
||||||
compress: false
|
compress: false
|
||||||
|
|
||||||
|
# # If federation is disabled synapse can still expose the open ID endpoint
|
||||||
|
# # to allow integrations to authenticate users
|
||||||
|
# - names: [openid]
|
||||||
|
# compress: false
|
||||||
|
|
||||||
# optional list of additional endpoints which can be loaded via
|
# optional list of additional endpoints which can be loaded via
|
||||||
# dynamic modules
|
# dynamic modules
|
||||||
# additional_resources:
|
# additional_resources:
|
||||||
@ -350,8 +355,12 @@ class ServerConfig(Config):
|
|||||||
resources:
|
resources:
|
||||||
- names: [client]
|
- names: [client]
|
||||||
compress: true
|
compress: true
|
||||||
- names: [federation, openid]
|
- names: [federation]
|
||||||
compress: false
|
compress: false
|
||||||
|
# # If federation is disabled synapse can still expose the open ID endpoint
|
||||||
|
# # to allow integrations to authenticate users
|
||||||
|
# - names: [openid]
|
||||||
|
# compress: false
|
||||||
|
|
||||||
# Turn on the twisted ssh manhole service on localhost on the given
|
# Turn on the twisted ssh manhole service on localhost on the given
|
||||||
# port.
|
# port.
|
||||||
|
Loading…
Reference in New Issue
Block a user