Skip to content

Commit a8e7749

Browse files
committed
Clarify why one would override the introspection_endpoint
1 parent dad05c4 commit a8e7749

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

docs/setup/homeserver.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,14 @@ experimental_features:
5959
admin_token: "AnotherRandomSecret"
6060

6161
# URL to advertise to clients where users can self-manage their account
62-
account_management_url: "http://localhost:8080/account"
63-
64-
# Optional URL to access from synapse in order to introspect oauth2 access tokens
65-
# Defaults to `http://<public_mas_domain>/oauth2/introspect`
66-
# introspection_endpoint: "http://localhost:8080/oauth2/introspect"
62+
# Defaults to the URL advertised by MAS, e.g. `https://{public_mas_domain}/account/`
63+
#account_management_url: "http://localhost:8080/account/"
64+
65+
# URL which Synapse will use to introspect access tokens
66+
# Defaults to the URL advertised by MAS, e.g. `https://{public_mas_domain}/oauth2/introspect`
67+
# This is useful to override if Synapse has a way to call the auth service's
68+
# introspection endpoint directly, skipping intermediate reverse proxies
69+
#introspection_endpoint: "http://localhost:8080/oauth2/introspect"
6770
```
6871

6972
## Set up the compatibility layer

0 commit comments

Comments
 (0)