docs(config): clarify token_auth_enforced scope and session behavior#61555
Open
joshtrichards wants to merge 3 commits into
Open
docs(config): clarify token_auth_enforced scope and session behavior#61555joshtrichards wants to merge 3 commits into
joshtrichards wants to merge 3 commits into
Conversation
Signed-off-by: Josh <josh.t.richards@gmail.com>
…ility Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
susnux
requested changes
Jun 23, 2026
susnux
left a comment
Contributor
There was a problem hiding this comment.
This seems to be AI assisted, so even though you checked the checkbox as per AI guidelines the commits have to include the AI disclosure:
https://github.com/nextcloud/.github/blob/master/AI_POLICY.md#disclosure
E.g. Assisted-by: ClaudeCode:claude-sonnet-4-6
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.
token_auth_enforcedset #50279)Summary
Clarify the
token_auth_enforceddescription inconfig.sample.php.The updated wording makes it clearer that this option:
Why
The previous wording could be read more broadly than the implementation supports. In practice, this setting applies to direct client credential-based authentication flows, not the standard interactive browser login flow.
It also does not retroactively invalidate existing sessions, so enabling it affects new authentication attempts rather than users with existing authenticated sessions.
Additional context
Related to #50279.
This PR is documentation-only and focuses on clarifying the scope and behavior of
token_auth_enforced. Related work in #59569 (unfinished/WIP) addresses separate follow-up work around admin-level session invalidation / revocation tooling.Checklist
3. to review, feature component)stable32)AI (if applicable)