On a Multisite network, who sets up the Google app depends on who manages the Google accounts: the network, or each site.
The network manages the Google accounts
The accounts are connected once in the Network Admin and used by all sites.
- A network administrator sets up the Google app in Network Admin → Google Drive → Settings, with Connect your own Google app, and moves the accounts there. One app covers the whole network.
- Administrators of the other sites only see one short notice that the network administrator manages the Google connection. They don't need to do anything.
- The notices and e-mails about the move go to the network: one e-mail per network, not one per site.
- The redirect URI uses the main site, for example
https://example.com/wp-admin/admin-post.php?action=useyourdrive_oauth. On a network where the Network Admin is on another domain than the main site (domain mapping), the setup uses the sign-in page of WP Cloud Plugins instead.
Every site manages its own Google accounts
Each site has its own accounts, so each site moves its own accounts, in Google Drive → Settings of that site.
- One app for several sites: a site can use the Google app that another site in the network already set up. As a network administrator, open the Dashboard tab of Google Drive → Settings on the next site. Under Your Google apps, choose the app at Use a Google app of another site in this network and click Use here. Only network administrators see this option.
-
Redirect URI: every site has its own address, such as
https://site2.example.com/wp-admin/admin-post.php?action=useyourdrive_oauth. Add the address of each site to the Authorized redirect URIs of the client. For an External app, add the main domain of each site under Branding → Authorized domains; subdomains of one main domain are covered by that domain. -
Many different domains? Google limits how many domains a project can use. On a network with many mapped domains, let the sites use the sign-in page of WP Cloud Plugins: then the client only needs
https://www.wpcloudplugins.com/use-your-drive/index.phpand the authorized domainwpcloudplugins.com. Switch it per site in the details of the app (the info icon, Details, next to the app under Your Google apps) and click Use the sign-in page of WP Cloud Plugins instead. - Personal app: only the Google account that created it can connect, on every site. With different accounts on different sites, use an Internal or External app, or a personal app per account.
- Each site that still has accounts on the built-in connection shows its own notices and sends its own e-mails.