docs: rewrite OAuth2 / OIDC / JWT reference - #1739
Open
netroms wants to merge 1 commit into
Open
Conversation
netroms
force-pushed
the
oauth2-docs-refresh-2.44
branch
from
April 23, 2026 16:23
abaf482 to
6a42ea8
Compare
david-mackessy
approved these changes
Apr 24, 2026
This was referenced Apr 24, 2026
netroms
marked this pull request as draft
May 5, 2026 13:38
netroms
marked this pull request as ready for review
August 19, 2026 15:19
Full rewrite of src/sysadmin/reference/oauth.md covering the authorization server, OAuth2 client CRUD, dynamic client registration with the Android enrollment walkthrough, OIDC login, JWT bearer authentication, dhis.conf and system-settings reference, troubleshooting, and 2.41 to 2.42 upgrade notes. Documents PKCE-by-default and the OAuth2/DCR scope policy shipped in dhis2-core#24478 / #24908 and backports #24884 / #24885. Targets 2.42, 2.43, and 2.44 uniformly. AI Assisted
netroms
force-pushed
the
oauth2-docs-refresh-2.44
branch
from
August 19, 2026 15:32
b4f5fad to
b89d290
Compare
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.
Summary
src/sysadmin/reference/oauth.md(290 → 910 lines) covering the authorization server, OAuth2 client CRUD, dynamic client registration with the Android enrollment walkthrough, OIDC login (Google / Azure / generic /private_key_jwt/ internal DHIS2 provider / linked accounts), JWT bearer authentication, a fulldhis.confand system-settings reference, troubleshooting, and 2.41 → 2.42 upgrade notes.dhis2-coremasterand the2.41branch.Ready for merge
The behavior changes this doc describes are now merged on all target branches:
The documented PKCE rule (
require-proof-key: falserejected withE4000; authorization-code clients must use S256 PKCE) matches shipped behavior on 2.42, 2.43, and master.AI Assisted