From 4838a5a8e519f3ffdbdfbdd15f91ae2e2f8c0ab9 Mon Sep 17 00:00:00 2001 From: Min RK Date: Thu, 7 Sep 2023 18:35:09 +0200 Subject: [PATCH] another pass on oauth_redirect_uri --- docs/source/reference/services.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/source/reference/services.md b/docs/source/reference/services.md index 0df98c9a..cd6c9838 100644 --- a/docs/source/reference/services.md +++ b/docs/source/reference/services.md @@ -51,11 +51,9 @@ A Service may have the following properties: - `oauth_client_id: str (default - 'service-$name')` - This never needs to be set, but you can specify a service's OAuth client id. It must start with `service-`. -- `oauth_redirect_uri: str (default: '/services/$name/oauth_redirect')` - +- `oauth_redirect_uri: str (default: '/services/:name/oauth_redirect')` - Set the OAuth redirect URI. - Required if it differs from the default proxied prefix URI, - e.g. the redirect handler is not at `/$prefix/oauth_redirect`, - and/or the service is not to be added to the proxy at `/services/$name` + Required if the redirect URI differs from the default or the service is not to be added to the proxy at `/services/:name` (i.e. `url` is not set, but there is still a public web service using OAuth). If a service is also to be managed by the Hub, it has a few extra options: