docs(docs/admin/users): document login_type=none deprecation and password conversion - #27292
Closed
jakehwll wants to merge 1 commit into
Conversation
…-account conversion
Contributor
Docs preview📖 View docs preview for |
login_type=none deprecation and service-account conversionlogin_type=none deprecation and service-account conversion
login_type=none deprecation and service-account conversionlogin_type=none deprecation and password conversion
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Docs follow-up for #26851 (DEVEX-226). Stacked on that branch so the diff is docs-only; rebase onto
mainonce #26851 lands.What this does
Updates
docs/admin/users/headless-auth.mdto document the deprecation oflogin_type=noneand the conversion of existing accounts:coder users create --login-type none(and the deprecated--disable-login) now error unless--service-accountis passed, and thatPOST /usersreturns400forlogin_type: "none"without a service account. Uses the exact error strings fromcli/usercreate.goandcoderd/users.go.login_type=noneusers topasswordlogin, preserving their email and existing API tokens (matching fix!: deprecatelogin_type=none, convert existing users to password login #26851). An admin must reset the password before web-UI login; token automation is unaffected. One-way conversion.No new pages, so no
manifest.jsonchange.Verification
login_type=none, convert existing users to password login #26851 (cli/usercreate.go,coderd/users.go); upgrade behavior matches000548_legacy_none_login_to_password.up.sql.make lint/emdash,markdownlint-cli2, andvaleall pass on the edited page.