- Notifications
You must be signed in to change notification settings - Fork905
Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
We have our first Engineering team member with email format offirstname.lastname@gmail.com
setting up Coder environment which is done via Google OAuth sign-in with Google. Coder is stripping the dot.
character from the username so it becomesfirstnamelastname
and it appears to be breaking JWT authentication. We worked around this by adding SSH key manually to the Coder instance.
I believe this is related tothis code
If there is some sane reason I am missing for stripping the dot character from the username please let me know. Otherwise I would like to submit a PR for this issue.
Expected Behavior
Email domain is stripped so user is created asfirstname.lastname
Steps to Reproduce
Provision a user via Google with username format offirstname.lastname@gmail.com
Environment
- Coder version: 2.18.4
Additional Context
No response