taers232c / GAMADV-XTD3

Command line tool to manage Google Workspace
703 stars 87 forks source link

Update Google Workspace branding when sending newly created user email #287

Closed jay-eleven closed 2 years ago

jay-eleven commented 2 years ago

The documentation states that when sending a password notification email a certain URL will be sent:

create - Hello #givenname# #familyname#,\n\nYou have a new account at #domain#\nAccount
details:\n\nUsername\n#user#\n\nPassword\n#password#\n\n Start using your new account
by signing in at\nhttps://www.google.com/accounts/AccountChooser?
mail=#user#&continue=https://workspace.google.com/dashboard\n

The URL contains the https://workspace.google.com/dashboard follow up, however, the email sent specifies a different URL: https://apps.google.com/user/hub:

Hello First Last,

You have a new account at domain.com
Account details:
Username: first.last@domain.com
Password: iWOmRy;IW!
Start using your new account by signing in at
https://www.google.com/accounts/AccountChooser?
Email=first.last@domain.com&continue=https://apps.google.com/user/hub

This is not a big deal since Google will happily redirect from https://apps.google.com/user/hub to https://workspace.google.com/dashboard.

For branding and consistency purposes, I will create a PR that fixes this.

jay-eleven commented 2 years ago

Fixed.