Skip to content

security: deactivate cap authentication for node.js#2362

Draft
sjvans wants to merge 1 commit intomainfrom
deactivate-via-empty-custom-auth
Draft

security: deactivate cap authentication for node.js#2362
sjvans wants to merge 1 commit intomainfrom
deactivate-via-empty-custom-auth

Conversation

@sjvans
Copy link
Contributor

@sjvans sjvans commented Feb 4, 2026

No description provided.

@sjvans sjvans requested a review from renejeglinsky as a code owner February 4, 2026 11:50
@sjvans sjvans mentioned this pull request Feb 4, 2026
@sjvans sjvans marked this pull request as draft February 4, 2026 11:57
@sjvans sjvans changed the title security: deactivate via empty custom auth security: deactivate cap authentication for node.js Feb 4, 2026
:::

<div class="java">
In such architectures, CAP authentication is obsolete and can be deactivated entirely with <Config java>`cds.security.authentication.mode="never"`</Config>.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BraunMatthias what happens with authorization checks in this mode, i.e., are they (1) skipped or (2) still enforced and fail or (3) still enforced but always pass because this auth mode "never" results in some kind of "privileged mode"?

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