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

do not allow updating username for OIDC and GitHub accounts even for admins #10726

Closed as not planned
Labels
@matifali

Description

@matifali

Do not allow updating usernames for OIDC and GitHub accounts, even for admins, but track the OAuth provider usernames instead.

Context

We should not allow changing usernames for OIDC or GitHub-provisioned accounts. The source of truth should be the username obtained from the OIDC/GitHub provider. Instead, we should automatically update the username on each new login if it is changed in the provider.

For example, I have observed this behavior in JFrog Artifactory OAuth users.

Drawback

A possible drawback is losing data if resources are named based on the username, i.e.,data.coder_workspace.me.owner. We can solve this by updating example templates to not use the username for naming resources.

Benefit

Moving towards a unified, easy setup for new workspaces, i.e.,#8462, where they would integrate with other cloud providers or external services like Artifactory, will prevent any mismatch between the usernames on Coder and the external service.

For example, if a user logs into Artifactory and the Coder using the GitHub login, Artifacrory tracks the GitHub username and updates the Artifactory username automatically, while Coder does not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp