goauthentik / goauthentik/authentik

Harbor OAuth2 Provider does not work

Open
#8,265 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
25.6k
Forks
2k
Avg merge
1d 1h
Merged PRs (30d)
644

Description

Hello,

I have a K3s cluster with Traefik and Harbor.

Authenticity was installed via Helm Chart.

- authentic version: 2023.10.6
- Deployment: helm Chart
- harbor version: 2.10.0
- traefik version: 2.10.6

Harbor can be reached via `https://registry.`
Login is possible.

I want to call Harbor via OAuth2/OpenID Provider from authentik.

I added OIDC Client ID and OIDC Client Secret from authentik in Harbor.
I have inserted the Redirect URI, which is displayed in Harbor, in the provider under Redirect URIs/Origins (RegEx).
Attached are screenshots of the configuration in Harbor and in authenticity.

When I test the connection in Harbor I get the message:
`failed to verify connection`

When I see the page:
`https://authentik./application/o/authorize/`
The athentik page appears with the message “Not Found” and the Go Home button.

Attached are the LOGS of the authentic server pod.

Unfortunately I don't know where the error is.

Thank you very much in advance for the help!!!

Daniel
[authentik-server-7d6596d55d-zc5ff.log](https://github.com/goauthentik/authentik/files/14020649/authentik-server-7d6596d55d-zc5ff.log)
![harbor](https://github.com/goauthentik/authentik/assets/59252257/6e46a4c4-3daf-44df-becc-3d5ba2a3f9e4)
![authentik-app](https://github.com/goauthentik/authentik/assets/59252257/5f63fd47-4341-42e5-9a07-690848b41335)
![authentik-provider](https://github.com/goauthentik/authentik/assets/59252257/ccd3152c-5c37-4cad-9a37-7847b159d237)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.