# How to support changing login email with Google SSO

**URL:** <https://community.auth0.com/t/how-to-support-changing-login-email-with-google-sso/184110>\
**Category:** Get Help\
**Tags:** login-prompt-new-experience, login-experience\
**Created:** [March 19, 2025, 6:58am UTC](https://community.auth0.com/t/how-to-support-changing-login-email-with-google-sso/184110 "2025-03-19T06:58:14Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![opedad](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/opedad/32/49974_2.png) [@opedad](https://community.auth0.com/u/opedad)\
**Post date:** [March 19, 2025, 6:58am UTC](https://community.auth0.com/t/how-to-support-changing-login-email-with-google-sso/184110/1 "2025-03-19T06:58:14Z")

</div>

I am using Auth0 as the authentication provider for my app, and now I want to support the feature that allows users to change their login email.

My application currently supports two authentication schema: Auth0 Username+password and google SSO.

For updating the email when a user is using Auth0 Username+password, the path I need to take is quite clear . I can see the API to update the user’s email [Auth0 Management API v2](https://auth0.com/docs/api/management/v2/users/patch-users-by-id) and then trigger a verification email to be sent.

The problematic part is if the user who wants to switch to another email sign up using Google SSO.

From what I understand, it is not possible to use the Management API for this. So the question now is, how can changing of login email be implemented when authentication scheme used is SSO?

---

<div class="post-metadata">

**Author:** ![vlad.murarasu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vlad.murarasu/32/72793_2.png) [@vlad.murarasu](https://community.auth0.com/u/vlad.murarasu)\
**Post date:** [March 19, 2025, 2:50pm UTC](https://community.auth0.com/t/how-to-support-changing-login-email-with-google-sso/184110/3 "2025-03-19T14:50:23Z")

</div>

Hi @opedad

The account is not made using only the Google email address, but the whole Google account therefore you can’t change the email, you would need to change the entire account. What I would suggest would be linking the old and new Google account into a single Auth0 account, and deleting the old one as an identity.

If you have any other question for us feel free to reach out.

Have a good one,  
Vlad

---

<div class="post-metadata">

**Author:** ![opedad](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/opedad/32/49974_2.png) [@opedad](https://community.auth0.com/u/opedad)\
**Post date:** [March 19, 2025, 2:59pm UTC](https://community.auth0.com/t/how-to-support-changing-login-email-with-google-sso/184110/4 "2025-03-19T14:59:13Z")

</div>

Hi @vlad.murarasu

Can you maybe expand on this?

> [@vlad.murarasu](#):
>
> What I would suggest would be linking the old and new Google account into a single Auth0 account, and deleting the old one as an identity.

Specifically if this can be automated via API calls, and if so which API if you know?

Thanks!

---

<div class="post-metadata">

**Author:** ![vlad.murarasu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vlad.murarasu/32/72793_2.png) [@vlad.murarasu](https://community.auth0.com/u/vlad.murarasu)\
**Post date:** [March 19, 2025, 4:01pm UTC](https://community.auth0.com/t/how-to-support-changing-login-email-with-google-sso/184110/5 "2025-03-19T16:01:05Z")

</div>

Hi @opedad

For account linking, you will have to use the Management API. I’ll leave the docs for account linking here:

> **[User Account Linking](https://auth0.com/docs/manage-users/user-accounts/user-account-linking)**
>
> Understand how user accounts can be linked in Auth0 from various identity providers.

Have a good one,  
Vlad

---

<div class="post-metadata">

**Author:** ![opedad](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/opedad/32/49974_2.png) [@opedad](https://community.auth0.com/u/opedad)\
**Post date:** [March 19, 2025, 4:11pm UTC](https://community.auth0.com/t/how-to-support-changing-login-email-with-google-sso/184110/6 "2025-03-19T16:11:35Z")

</div>

You mentioned that:

> What I would suggest would be linking the old and new Google account into a single Auth0 account, and deleting the old one as an identity.

From the linked docs I read:

> - If you delete the primary account, the secondary account is deleted as well

This breaks the use case I have where I want the original account to stop working.

I guess I am out of luck

---

<div class="post-metadata">

**Author:** ![vlad.murarasu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vlad.murarasu/32/72793_2.png) [@vlad.murarasu](https://community.auth0.com/u/vlad.murarasu)\
**Post date:** [March 19, 2025, 4:33pm UTC](https://community.auth0.com/t/how-to-support-changing-login-email-with-google-sso/184110/7 "2025-03-19T16:33:27Z")

</div>

You need to first make the new account the primary account, unlink the original account and then you will be able to delete it safely.

---

<div class="post-metadata">

**Author:** ![opedad](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/opedad/32/49974_2.png) [@opedad](https://community.auth0.com/u/opedad)\
**Post date:** [March 20, 2025, 4:48am UTC](https://community.auth0.com/t/how-to-support-changing-login-email-with-google-sso/184110/8 "2025-03-20T04:48:03Z")

</div>

> [@vlad.murarasu](#):
>
> You need to first make the new account the primary account

I looked through the documentation and I am not sure this is possible

---

<div class="post-metadata">

**Author:** ![vlad.murarasu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vlad.murarasu/32/72793_2.png) [@vlad.murarasu](https://community.auth0.com/u/vlad.murarasu)\
**Post date:** [March 20, 2025, 12:58pm UTC](https://community.auth0.com/t/how-to-support-changing-login-email-with-google-sso/184110/9 "2025-03-20T12:58:51Z")

</div>

Yes, I apologize, I also looked more into it and it’s not possible.  
There doesn’t seem to be any way of changing Google emails.

If you have any other questions feel free to ask.

Have a good one,  
Vlad

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [April 3, 2025, 12:59pm UTC](https://community.auth0.com/t/how-to-support-changing-login-email-with-google-sso/184110/10 "2025-04-03T12:59:29Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
