feat: Expose GitHub username and email via External Authentication
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
This is a great proposal, we plan to work on a design for this soon!
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 :(