Skip to content

docs: document the Zitadel service identity and trim the generated specs - #32

Merged
Aloento merged 2 commits into
mainfrom
docs/zitadel-oidc-doc-trim
Sep 23, 2026
Merged

Aloento merged 2 commits into
mainfrom
docs/zitadel-oidc-doc-trim

Conversation

@Aloento

@Aloento Aloento commented Sep 23, 2026

Copy link
Copy Markdown
Member

Documentation only, no code change.

  • rewrite the authentication page around the machine user key file, the assertion and the token endpoint, document the required oidc_issuer, oidc_key_file and oidc_scopes keys, and regenerate the config schema (this is the documentation the reporter change needs, so it can land before it)
  • remove specs/ (the generated feature artifacts of three past features, two of them still describing the V1 API and the HMAC flow) and doc/modules/ (module signatures duplicated from the source, one example no longer compiles), and repoint the pages that linked to them

Verification: cargo test --test documentation_validation and mdbook build doc/ (all SUMMARY.md targets exist, no remaining links into the removed folders).

The reporter no longer signs an HMAC JWT with a shared secret, it obtains a
Zitadel access token for a machine user through the JWT Profile flow.

- rewrite doc/api/authentication.md around the key file, the assertion and the
  token endpoint, and name the scopes a deployment has to request
- document the required oidc_issuer, oidc_key_file and oidc_scopes keys, drop
  the status_dashboard.secret examples and regenerate the config schema
- follow the rename through the reporter, config, deployment, troubleshooting
  and architecture pages
The repository carried 667 kB of markdown under `doc/` and `specs/` next to
158 kB of Rust source. Two parts of it are redundant: `specs/` holds the
generated design artifacts of three past features (they restate what the code
and `doc/` already say, and two of them still describe the V1 API and the HMAC
flow), and `doc/modules/` restates module signatures that the source and
`doc/reporter.md` cover, with an example that no longer compiles.

- remove `specs/` (feature plans, tasks, checklists and API contracts)
- remove `doc/modules/` and the module section of the summary
- point the project structure, quickstart and README pages at the architecture
  page and `cargo doc` instead
- fix the relative link to the architecture page in the quickstart
@Aloento
Aloento merged commit a5ffb1d into main Sep 23, 2026
9 checks passed
@Aloento
Aloento deleted the docs/zitadel-oidc-doc-trim branch September 23, 2026 21:03
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