terraform-provider-coder icon indicating copy to clipboard operation
terraform-provider-coder copied to clipboard

feat: Expose GitHub username and email via External Authentication

Open 3UR opened this issue 1 year ago • 2 comments

When using GitHub External Auth we cannot get the GitHub username and email.

This would be useful because some users have different emails and usernames on Coder compared to GitHub.

If the username and email were exposed, they could be used like this:

  git_author_name           = data.coder_external_auth.github.username
  git_author_email           = data.coder_external_auth.github.email

3UR avatar Nov 08 '24 01:11 3UR

This is a great proposal, we plan to work on a design for this soon!

stirby avatar Nov 27 '24 02:11 stirby

any updates on this?

This is a great proposal, we plan to work on a design for this soon!

not being able to use the same email from external auth causes quite a few issues for me because setting git config --global user.email doesnt override the email used on coder and when i commit its under the wrong account all the time :(

3UR avatar Jan 24 '25 10:01 3UR