Repository navigation
docs: describe the OIDC provider interface - #1271
Merged
Merged
Conversation
DavidePrincipi
force-pushed
the
feat-8080
branch
from
August 7, 2026 15:42
73aefe5 to
f96d40e
Compare
Document the minimal interface between OIDC provider modules and their client modules: the oidc service key, its change event, the register-client action with the clientadm role, and the user name claim. The core implements none of it; ns8-idp is the reference implementation. Assisted-by: Claude Code:claude-opus-5-5
DavidePrincipi
force-pushed
the
feat-8080
branch
from
October 2, 2026 13:33
f96d40e to
d28c14b
Compare
The payload carries the provider host and issuer prefix, so listeners can tell whether a change concerns them without reading the key. Assisted-by: Claude Code:claude-opus-5-5 [skip ci]
gsanchietti
approved these changes
Oct 5, 2026
Document what the reference implementation added since: the logout redirect URIs and their default, the explicit module ID of tasks without a calling user, the enabled state kept across registrations, clients without redirect URIs, the audience, and the validation errors. Add a note on realms restricted to federated logins: a module that shows its own login form still accepts LDAP passwords, so it should offer exclusive SSO with an emergency login path. Assisted-by: Claude Code:claude-opus-5-5
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Applications need a common way to get single sign-on (SSO) from an identity provider module, without each one depending on a specific product. NethServer/dev#8080
The core code does not change. The User domains documentation page gets a short "Single sign-on" section that documents the minimal contract between an OpenID Connect (OIDC) provider module and the modules that use it. The ns8-idp module (Keycloak) is the reference implementation. This replaces the earlier, broader draft of this PR, which described an OIDC domain architecture that was not implemented.
module/{MODULE_ID}/srv/http/oidcservice key, theservice-oidc-changedevent, and the standard OIDC discovery document of the issuer.register-clientaction, granted by theclientadmrole, and the rules every provider must follow, including the logout redirect URIs, clients disabled by an administrator, and the validation errors.Briefing slides: ns8-idp overview-1.pdf
Generated by Claude Code:claude-opus-5.5 with nethserver-pr