From cbe207d091d5c175eb6000f8de375322aa1e2012 Mon Sep 17 00:00:00 2001 From: Carl Boettiger Date: Mon, 29 Jan 2024 12:38:17 -0800 Subject: [PATCH] correct the callback url Callback URL syntax path is incorrect, misses the `zot/`. Correct path is given in: https://github.com/project-zot/zot/blob/9def35f3b8b38f5a438146a09087edcec00537c7/examples/README.md?plain=1#L294 --- docs/articles/authn-authz.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/articles/authn-authz.md b/docs/articles/authn-authz.md index 3cc5f91..fd0e1db 100644 --- a/docs/articles/authn-authz.md +++ b/docs/articles/authn-authz.md @@ -367,11 +367,11 @@ For example, a user logging in to the zot home page using GitHub as the authenti Based on the specified provider, zot redirects the login to a provider service with the following URL: - http:///auth/callback/ + http:///zot/auth/callback/ For the GitHub authentication example: - http://zot.example.com:8080/auth/callback/github + http://zot.example.com:8080/zot/auth/callback/github :pencil2: If your network policy doesn't allow inbound connections, the callback will not work and this authentication method will fail. @@ -385,7 +385,7 @@ Like zot, dex uses a configuration file for setup. To specify zot as a client in staticClients: - id: zot-client redirectURIs: - - 'http://zot.example.com:8080/auth/callback/oidc' + - 'http://zot.example.com:8080/zot/auth/callback/oidc' name: 'zot' secret: ZXhhbXBsZS1hcHAtc2VjcmV0 ```