Skip to content

fix(oauth2): clarify client configuration and validate deletion - #67400

Open
joshtrichards wants to merge 9 commits into
masterfrom
jtr/oauth2-clarity
Open

joshtrichards wants to merge 9 commits into
masterfrom
jtr/oauth2-clarity

Conversation

@joshtrichards

@joshtrichards joshtrichards commented Dec 2, 2026 •

Copy link
Copy Markdown
Member
  • Resolves: #

Summary

While revising the OAuth chapter in the Admin Manual in nextcloud/documentation#16136 tidied up the app UX a bit:

  • Clarify OAuth authorization and standardize client terminology.
  • Improve settings guidance, command help, and error messages.
  • Validate the delete command’s internal client ID as a positive integer.

TODO

  • Update OpenAPI

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Describe OAuth 2.0 as a way for users to authorize external
applications to access their Nextcloud accounts.

Remove the unnecessary restriction to web applications.

Signed-off-by: Josh <josh.t.richards@gmail.com>
Clarify who grants access and make the credential labels more recognizable:

- Explain how users authorize external applications
- Use familiar OAuth terminology
- Clarify redirect URL and secret handling

Signed-off-by: Josh <josh.t.richards@gmail.com>
Use "Client secret" for the password field's accessible label,
matching the settings table heading.

Signed-off-by: Josh <josh.t.richards@gmail.com>
Use consistent OAuth terminology.

Signed-off-by: Josh <josh.t.richards@gmail.com>
Require a positive integer rather than coercing invalid input.
Clarify that the command expects the internal ID (not OAuth Client ID) and that deleting a client revokes its associated access tokens.

Signed-off-by: Josh <josh.t.richards@gmail.com>
Clarify the configuration prerequisite and add help.

Report an error for empty arguments.

Signed-off-by: Josh <josh.t.richards@gmail.com>
Align the example with the add-client command.

Signed-off-by: Josh <josh.t.richards@gmail.com>
Explain that the application is not registered with the server
and direct the user to their administrator.

Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants