Skip to content

[v17] Move auth preference module validation to RPC layer#54761

Merged
rosstimothy merged 1 commit intobranch/v17from
bot/backport-54687-branch/v17
May 13, 2025
Merged

[v17] Move auth preference module validation to RPC layer#54761
rosstimothy merged 1 commit intobranch/v17from
bot/backport-54687-branch/v17

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

Backport #54687 to branch/v17

changelog: Prevent restrictive validation of cluster auth preferences from causing non-auth instances to become healthy.

The module validation rejects auth preferences that have second
factor disabled without the environment variable override. Doing
this in the storage layer means that in order to disable second
factor the environment variable needs to be set on _all_ teleport
processes not just Auth. This can result in caches of downstream
agents from becoming healthy until the manual override is applied.
The intent is to prevent modifying an the auth preference to disable
second factor, which when moved to the RPC layer, has the same
affect without the possibility of caches performing extra validation.
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from espadolini May 13, 2025 16:23
@rosstimothy rosstimothy enabled auto-merge May 13, 2025 16:32
@rosstimothy rosstimothy added this pull request to the merge queue May 13, 2025
Merged via the queue into branch/v17 with commit 4c7f2b0 May 13, 2025
40 checks passed
@rosstimothy rosstimothy deleted the bot/backport-54687-branch/v17 branch May 13, 2025 16:53
@doggydogworld doggydogworld mentioned this pull request Jun 3, 2025
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