Skip to content

docs: rewrite OAuth2 / OIDC / JWT reference - #1739

Open
netroms wants to merge 1 commit into
masterfrom
oauth2-docs-refresh-2.44
Open

docs: rewrite OAuth2 / OIDC / JWT reference#1739
netroms wants to merge 1 commit into
masterfrom
oauth2-docs-refresh-2.44

Conversation

@netroms

@netroms netroms commented Apr 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Full rewrite of 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 full dhis.conf and system-settings reference, troubleshooting, and 2.41 → 2.42 upgrade notes.
  • Targets 2.42, 2.43, and 2.44 uniformly. Version-diff mentions between 2.42 / 2.43 / 2.44 are deliberately absent; the 2.41 → 2.42 delta is documented at the end.
  • All config keys, endpoints, tables, and authorities verified against dhis2-core master and the 2.41 branch.

Ready for merge

The behavior changes this doc describes are now merged on all target branches:

The documented PKCE rule (require-proof-key: false rejected with E4000; authorization-code clients must use S256 PKCE) matches shipped behavior on 2.42, 2.43, and master.

AI Assisted

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
netroms force-pushed the oauth2-docs-refresh-2.44 branch from b4f5fad to b89d290 Compare August 19, 2026 15:32
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.

2 participants