google / google/site-kit-wp

Investigate possible ways to verify a user's site for Search Console from the plugin when getting the 'Insufficient permissions in Search Console' error

Open
#6,288 4 comments 0 reactions 1 assignee Claimed by @aaemnnosttv View on GitHub
Module: Search Console Type: Enhancement Type: Support
Dominant language
JavaScript
Stars
1.4k
Forks
383
Avg merge
4d 14h
Merged PRs (30d)
77

Description

## Bug Description

As discussed [here](https://app.asana.com/0/1201347314824192/1202854399691465/f), it would be a better user experience if we were able to verify a users site with Search Console from the plugin when they are facing the 'Insufficient permissions in Search Console' error.

@felixarntz described this as tricky based on how Site Kit works but suggested that this could be looked into to see if we can do anything on the plugin side. If it's not possible to do this then 2 possible alternatives to this are:

1. Change the **request access** button so that it disconnects the user allowing them to reconnect and verify the site. It would be better if we could auto-reconnect the user too on click of the button but I'm not sure that would be possible
2. Simply change the wording on the **request access** button as it's a little misleading. Clicking the button doesn't request access but just takes the user to Search Console to manually verify their site.

Currently the user has to use the **request access** button which takes them to Search Console to manually verify their site. This results in questions for support from confused users.

## Steps to reproduce

This notice can occur when:

- There were [permission changes at Search Console level](https://support.google.com/webmasters/answer/7687615?hl=en)
- Your site becomes unverified in Search Console
- You connected an additional module such as Google Analytics or AdSense and used a different Google account than the one that you used to set up Search Console.

## Screenshots

![image](https://user-images.githubusercontent.com/91896826/205972703-d82fc651-e31b-41e3-9832-21c7d64876fc.png)

## Additional Context

- PHP Version:
- OS: [e.g. iOS]
- Browser: [e.g. chrome, safari]
- Plugin Version: [e.g. 22]
- Device: [e.g. iPhone6]

---------------

_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

*

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.