https://linen.dev logo
Title
b

BigCheeZ

05/25/2023, 3:20 PM
Is there any way to get a user's name when creating a workspace? We can use OIDC with GitLab for users to login. They can then add the SSH key from their Coder account to GitLab for authentication. If they want to add commits though they need set the git user.email and user.name. I can already set user.email using data.coder_workspace.me.owner_email but I do not see a way to set the name. If I can get their name then user does not need to provide any input upon creating a workspace and therefore removes a chance for user input error.