Skip to content

security: deactivate cap authentication for node.js#2362

Open
sjvans wants to merge 2 commits into
mainfrom
deactivate-via-empty-custom-auth
Open

security: deactivate cap authentication for node.js#2362
sjvans wants to merge 2 commits into
mainfrom
deactivate-via-empty-custom-auth

Conversation

@sjvans

@sjvans sjvans commented Feb 4, 2026

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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"?

@sjvans sjvans marked this pull request as ready for review June 30, 2026 13:16
@sjvans sjvans requested a review from danjoa as a code owner June 30, 2026 13:16
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