authd icon indicating copy to clipboard operation
authd copied to clipboard

Issue: Conflict in creating user

Open kokul22 opened this issue 9 months ago • 1 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues and found none that matched mine

Describe the issue

Hi Team,

we use authd and authd-goole for ubuntu desktop authentication, once the user login with google workspace account it's asking to create a local user password which is good but its keeping the user name as the gmail name which we dont want to eg, [email protected] - this is the user name it's creating instead of kokul. we need to find out a way to alter this. please support. this username is getting conflict with chrome remote desktop app as well.

Steps to reproduce

  • Installing authd and authd-goole
  • login using google workspace account
  • username should be what i mentioned above.
  • try setting up chrome remote desktop user, it will give oauth error the second time you try

System information and logs

No response

Double check your logs

  • [x] I have redacted any sensitive information from the logs

kokul22 avatar Mar 15 '25 03:03 kokul22

Seems like a duplicate of https://github.com/ubuntu/authd/issues/574.

try setting up chrome remote desktop user, it will give oauth error the second time you try

I can't reproduce that. Here is what I tried:

  1. Open https://remotedesktop.google.com/support
  2. Log in with <my-user>@gmail.com
  3. Download the chrome-remote-desktop_current_amd64.deb package
  4. Install the package
  5. Click "Generate Code" on https://remotedesktop.google.com/support
  6. On another machine, enter the code in the "Connect to another computer" section of https://remotedesktop.google.com/support
  7. See that the screen is shared.
  8. Try logging in with authd: sudo login <my-user>@gmail.com -> Works as expected

@kokul22, can you please provide the exact steps to reproduce the issue?

adombeck avatar Mar 17 '25 12:03 adombeck

Closing because I don't expect to receive an answer anymore, and the issue is not actionable without steps to reproduce.

adombeck avatar Aug 22 '25 09:08 adombeck