Skip to content

Comments

[NCL-9527] Add support for LDAP authentication when receiving requests#362

Open
thescouser89 wants to merge 1 commit intoproject-ncl:masterfrom
thescouser89:ncl-9527
Open

[NCL-9527] Add support for LDAP authentication when receiving requests#362
thescouser89 wants to merge 1 commit intoproject-ncl:masterfrom
thescouser89:ncl-9527

Conversation

@thescouser89
Copy link

@thescouser89 thescouser89 commented Feb 5, 2026

This commit introduces breaking changes. Instead of providing the -keycloakOfflineConfig or -keycloakConfig option, only the new -authHeaderConfig is now supported.

This new config requires the user to specify both the OIDC server details and LDAP server details (for Basic LDAP auth).

The auth-server-url url now also requires to be the full url. For example for a keycloak server, it should now be:

https://server.com/auth/realms/realm

instead of

https://server.com/auth

This is to support any OIDC server rather than only Keycloak. For example, another OIDC server's format url can be: https://server.com/blabla/realm/howaboutthis .

A future commit will be created to support LDAP authentication when pnc-build-agent sends requests to other services.

@thescouser89
Copy link
Author

I know @michalovjan , I am now the guy who creates big PRs :( sorry about that!

@thescouser89 thescouser89 force-pushed the ncl-9527 branch 2 times, most recently from 3cb0a3c to b606b08 Compare February 5, 2026 20:20
This commit introduces breaking changes. Instead of providing the
`-keycloakOfflineConfig` or `-keycloakConfig` option, only the new
`-authHeaderConfig` is now supported.

This new config requires the user to specify both the OIDC server details
and LDAP server details (for Basic LDAP auth).

The `auth-server-url` url now also requires to be the full url. For
example for a keycloak server, it should now be:

```
https://server.com/auth/realms/realm
```

instead of
```
https://server.com/auth
```

This is to support any OIDC server rather than only Keycloak.

A future commit will be created to support LDAP authentication when
pnc-build-agent sends requests to other services.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant