# Update google client id without losing users

**URL:** <https://community.auth0.com/t/update-google-client-id-without-losing-users/70013>\
**Category:** Get Help\
**Tags:** social-connections\
**Created:** [September 21, 2021, 9:22am UTC](https://community.auth0.com/t/update-google-client-id-without-losing-users/70013 "2021-09-21T09:22:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jurgen](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jurgen/32/13081_2.png) [@jurgen](https://community.auth0.com/u/jurgen)\
**Post date:** [September 21, 2021, 9:22am UTC](https://community.auth0.com/t/update-google-client-id-without-losing-users/70013/1 "2021-09-21T09:22:39Z")

</div>

Can we update the clientId of the existing google social connection without losing all users linked to it?  
And will existing users still be able to authenticate after that update?

When trying to remove the social connection you get the warning about permanently losing all users. I only want to try to update the existing social connection when being 100% sure.

---

<div class="post-metadata">

**Author:** ![sgo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sgo/32/13789_2.png) [@sgo](https://community.auth0.com/u/sgo)\
**Post date:** [September 21, 2021, 2:16pm UTC](https://community.auth0.com/t/update-google-client-id-without-losing-users/70013/2 "2021-09-21T14:16:44Z")

</div>

Hi @jurgen , welcome to the community!

If you just update the client ID and secret, this will not remove existing users. This would be like moving from the default dev keys Auth0 provides for testing with your own client ID.

Your users on that connection should see a consent screen on their next login, but otherwise should operate as before and will be seen as the same identity by Auth0.

---

<div class="post-metadata">

**Author:** ![jurgen](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jurgen/32/13081_2.png) [@jurgen](https://community.auth0.com/u/jurgen)\
**Post date:** [September 22, 2021, 8:12am UTC](https://community.auth0.com/t/update-google-client-id-without-losing-users/70013/3 "2021-09-22T08:12:50Z")

</div>

Hi @sgo, thank you for your quick answer.

Do you have an example/screenshot of this consent screen?

I tried updating the Google ClientId in a non production tenant to reproduce this behavior. But there I didn’t get any notification when logging in again with Google.

---

<div class="post-metadata">

**Author:** ![jurgen](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jurgen/32/13081_2.png) [@jurgen](https://community.auth0.com/u/jurgen)\
**Post date:** [September 24, 2021, 7:42am UTC](https://community.auth0.com/t/update-google-client-id-without-losing-users/70013/4 "2021-09-24T07:42:02Z")

</div>

We updated the clientId & secret now and didn’t get any consent screen on a new login.  
Also, while doing this change, logged in users could continue to work, no new login required. 👍

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [September 24, 2021, 9:46am UTC](https://community.auth0.com/t/update-google-client-id-without-losing-users/70013/5 "2021-09-24T09:46:15Z")

</div>

Thanks for sharing that with the rest of community!

---

<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:** [October 9, 2021, 9:46am UTC](https://community.auth0.com/t/update-google-client-id-without-losing-users/70013/6 "2021-10-09T09:46:37Z")

</div>

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