Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

correct the callback url #153

Merged
merged 1 commit into from
Feb 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading