Skip to content

Update Authentication Documentation#2471

Open
samyuktaprabhu wants to merge 5 commits intomainfrom
sam-local-env-auth-mode-update
Open

Update Authentication Documentation#2471
samyuktaprabhu wants to merge 5 commits intomainfrom
sam-local-env-auth-mode-update

Conversation

@samyuktaprabhu
Copy link
Copy Markdown
Contributor

This PR updates the Authentication documentation to clarify the behavior of mock user authentication.

  • Updated documentation for cds.security.authentication.mode to reflect the new auto-derived behavior: when not explicitly configured, the mode defaults to model-relaxed in local development (mock users enabled) and model-strict in production, aligning with secure-by-default principles
  • Removed the tip suggesting manual configuration of model-relaxed for local development as this is now handled automatically

…rify default behavior of authentication settings
@rjayasinghe
Copy link
Copy Markdown
Contributor

But we can only merge this once we have released CAP Java 5.0

👀 @smahati @renejeglinsky

Copy link
Copy Markdown
Contributor Author

@samyuktaprabhu samyuktaprabhu left a comment

Choose a reason for hiding this comment

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

Hi @renejeglinsky,

Do you happen to know what caused the linting failure? I’m having trouble understanding what the error is referring to.

Thanks!

@smahati
Copy link
Copy Markdown
Contributor

smahati commented Mar 26, 2026

Hi @renejeglinsky,

Do you happen to know what caused the linting failure? I’m having trouble understanding what the error is referring to.

Thanks!

Doesn't seem to be related to your change, I'll see what it's found.

@smahati
Copy link
Copy Markdown
Contributor

smahati commented Mar 26, 2026

But we can only merge this once we have released CAP Java 5.0

👀 @smahati @renejeglinsky

The linting issue seems to be fixed, I'll not review it for now so that it doesn't get merged

@rjayasinghe
Copy link
Copy Markdown
Contributor

@smahati is there some list where we maintain such PRs that shall be merged later?

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.

3 participants