• Resolved Jonas Troyer

    (@jonastroyer)


    Hey guys we are using the Pro version of your plugin at our agency. We have about 400 clients and about 10-15 per month need to be reset up with Google. Every month another 10-15. Any ideas?

Viewing 1 replies (of 1 total)
  • Plugin Contributor Lara Google Analytics – Support

    (@laragoogleanalytics)

    Hello @jonastroyer,

    This is a limitation imposed by Google : https://developers.google.com/identity/protocols/oauth2#expiration

    Google API currently has a limit of 50 (25 for some accounts) refresh tokens per user account per client. If the limit is reached, creating a new refresh token automatically invalidates the oldest refresh token without warning.

    So for example, If you have authorized the widget on 50 sites, then tried to authorize it on another site, the first site will start receiving “[invalid_grant] Bad Request”.

    Possible ways to manage more accounts :

    – Use multiple Google accounts, with each handling 50 sites or less.

    – Since the limit is per user account per client, the advanced setup may help, as with it you will be able to create a new google app (client). Each client can handle 50 active tokens from one Google account, so you will need to create multiple google apps (clients), and each should handle 50 tokens.

    I hope it is clear now.

Viewing 1 replies (of 1 total)
  • The topic ‘Need to Reset on Pro Plugin’ is closed to new replies.