Skip to content

Commit

Permalink
correct the callback url
Browse files Browse the repository at this point in the history
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
  • Loading branch information
cboettig authored Jan 29, 2024
1 parent c70db61 commit cbe207d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/articles/authn-authz.md
Original file line number Diff line number Diff line change
Expand Up @@ -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://<zot-server>/auth/callback/<provider>
http://<zot-server>/zot/auth/callback/<provider>

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.

Expand All @@ -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
```
Expand Down

0 comments on commit cbe207d

Please sign in to comment.