This repository was archived by the owner on Nov 18, 2026. It is now read-only.
Repository navigation
feat(auth): trusted SSO login with hardened mint policy - #357
Merged
Merged
Conversation
edospadoni
added a commit
to nethesis/ns8-nethvoice
that referenced
this pull request
Sep 2, 2026
Wire the module build to the SSO feature work (NethServer/dev#8142): - nethcti-server: checkout commit fa98e63d (branch ns8-sso, nethesis/nethcti-server#357) - nethcti-middleware: image tag sso (nethesis/nethcti-middleware#79) - nethvoice-cti: image tag sso (nethesis/nethvoice-cti#558) To be repointed to release tags before merge.
Add an optional trusted-SSO login path for reverse-proxy SSO (SAML2/OIDC): when sso_trusted_secret is configured, a trusted front-end can authenticate a user by forwarding X-SSO-User with the shared secret, skipping PAM. The whole check lives in a single ssoLogin(username, secret) entry point: constant-time secret verification, separate sso_token_key for the token derivation, privileged/local accounts (admin, administrator, root) always denied, optional sso_user_allowlist. Disabled by default: without sso_trusted_secret nothing changes.
This was referenced Sep 3, 2026
edospadoni
marked this pull request as ready for review
October 6, 2026 07:35
edospadoni
added a commit
to nethesis/ns8-nethvoice
that referenced
this pull request
Oct 6, 2026
The SSO work was merged by nethesis/nethcti-server#357 and its branch deleted, so 53112bd1 is no longer reachable by a clone and the cti-server image fails to build (reference is not a tree).
edospadoni
added a commit
to nethesis/ns8-nethvoice
that referenced
this pull request
Oct 6, 2026
The SSO work was merged by nethesis/nethcti-server#357 and its branch deleted, so 53112bd1 is no longer reachable by a clone and the cti-server image fails to build (reference is not a tree).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of NethServer/dev#8142 — pluggable authentication methods with SAML2 Single Sign-On.
Adds an optional trusted-SSO login path: when
sso_trusted_secretis configured, a trusted front-end (the NS8 middleware behind Traefik forwardAuth) can authenticate a user by forwarding the username with the shared secret, skipping PAM.sso_token_key(HMAC token derivation) from the mint-authorization secret, with backward-compatible fallbacksso_user_allowlistOff by default: without
sso_trusted_secretnothing changes.