google / site-kit-wp

Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make them successful on the web.
https://sitekit.withgoogle.com
Apache License 2.0
1.25k stars 292 forks source link

When disconnecting SiWG and re-connecting, a new Client ID is created and the old one remains #9744

Open wpdarren opened 6 hours ago

wpdarren commented 6 hours ago

Bug Description

When disconnecting and re-connecting the SiWG module, a new Client ID is created and the old one remains.

From @tofumatt

I guess it could be nice if the service had a way to detect an existing client ID for the site and offer it, but at the same time it's valid to reuse a Client ID. I guess the best option is we persist the client ID between disconnections. In fact, I thought I specified this in the design doc/issue, but maybe not.


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

Implementation Brief

Test Coverage

QA Brief

Changelog entry