Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add login type 'none' to prevent password login#8009

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Emyrk merged 8 commits intomainfromstevenmasley/no_password
Jun 14, 2023

Conversation

@Emyrk
Copy link
Member

@EmyrkEmyrk commentedJun 13, 2023
edited
Loading

Fixes#7657

Users with this login type must use tokens to authenticate.
Tokens must come from some other source, not a /login with password
authentication

Cli usage & Output

$ coder users create --disable-login                                                                                                                   48s 12:27:17 PM> Username: noauth2> Email: noauth2@coder.comA new user has been created!Share the instructions below to get them started.—————————————————————————————————————————————————Download the Codercommand linefor your operating system:https://github.com/coder/coder/releasesRun  coder login http://localhost:3000  to authenticate.Your email is:  noauth2@coder.com Login has been disabledfor this user. Contact your administrator to authenticate.Create a workspace   coder create!

Future Work

This is the initial work to disable password authentication on a user by user basis. To polish this feature, I believe we need some extra features.

Users with this login type must use tokens to authenticate.Tokens must come from some other source, not a /login with passwordauthentication
@EmyrkEmyrk changed the titleeat: add login type 'none' to prevent logineat: add login type 'none' to prevent password loginJun 13, 2023
@EmyrkEmyrk marked this pull request as ready for reviewJune 13, 2023 18:03
@EmyrkEmyrk changed the titleeat: add login type 'none' to prevent password loginfeat: add login type 'none' to prevent password loginJun 13, 2023
@EmyrkEmyrk requested a review fromdeansheatherJune 13, 2023 19:35
Emyrkand others added2 commitsJune 13, 2023 15:01
Co-authored-by: Dean Sheather <dean@deansheather.com>
@EmyrkEmyrk merged commit6c4c3d6 intomainJun 14, 2023
@EmyrkEmyrk deleted the stevenmasley/no_password branchJune 14, 2023 17:48
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJun 14, 2023
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@deansheatherdeansheatherdeansheather approved these changes

Assignees

@EmyrkEmyrk

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

--disable-password-auth is useless when using Coder in a headless fashion

3 participants

@Emyrk@deansheather

[8]ページ先頭

©2009-2025 Movatter.jp