Difference between revisions of "Troubleshooting Sign-In using Google"

From WHMCS Documentation

Line 1: Line 1:
'''Invalid details not saved. Please verify your details and try again.'''
+
===Invalid details not saved. Please verify your details and try again===
  
 
You may receive the above error message when attempting to configure your Google API Credentials. It indicates that the values provided are not able to successfully authenticate with the Google API.
 
You may receive the above error message when attempting to configure your Google API Credentials. It indicates that the values provided are not able to successfully authenticate with the Google API.
Line 5: Line 5:
 
If you receive this message, double check your API Key and Secret and try again.
 
If you receive this message, double check your API Key and Secret and try again.
  
'''Google Sign-In is unavailable at this time. Please try again later.'''
+
===Google Sign-In is unavailable at this time. Please try again later===
  
''- OR - ''
+
If you receive this error message when attempting to Sign in using Google, this indicates that the URL configured within your Google App is no longer valid.
  
'''Google Sign-In is unavailable at this time. Please try again later. Error: Not a valid origin for the client: http://example.com has not been whitelisted for client ID xxxxx'''
+
Please refer to [[Configuring Sign-In using Google]] for instructions regarding how to set the URL for your Google API App.
 +
 
 +
===Google Sign-In is unavailable at this time. Please try again later. Error: Not a valid origin for the client: http://example.com has not been whitelisted for client ID xxxxx===
  
 
If you receive this error message when attempting to Sign in using Google, this indicates that the URL configured within your Google App is no longer valid.
 
If you receive this error message when attempting to Sign in using Google, this indicates that the URL configured within your Google App is no longer valid.
  
<div class="docs-alert-info">You will only receive the second more verbose error message when logged in as an admin user and attempting to use the client area Google Sign In option. To verify the cause of the error, we recommend attempting to login while authenticated as an admin user.</div>
+
Please refer to [[Configuring Sign-In using Google]] for instructions regarding how to set the URL for your Google API App.
  
Please refer to [[Configuring Sign-In using Google]] for instructions regarding how to set the URL for your Google API App.
+
You will only receive this error message when logged in as an admin user and attempting to use the client area Google Sign In option. To verify the cause of the error, we recommend attempting to login while authenticated as an admin user.
  
 
[[File:Google-url-error.png]]
 
[[File:Google-url-error.png]]
 +
 +
===Remote account linking via Google has failed. Please make sure that the system clock is set properly===
 +
 +
In order for the authentication function to operate, your server time must be within 30 seconds of Google's server time. This error indicates the difference between the two server clocks is outside the acceptable tolerance level (timezones differences do not cause this error).
 +
 +
To resolve this it is necessary to sync your server clock with a NTP server to ensure it is completely accurate. You can use any NTP server of your choice, but Google do offer their own. This can be done from the server command line and typically requires root access:
 +
 +
<div class="source-cli"><nowiki>
 +
ntpdate time.google.com
 +
</nowiki></div>
 +
 +
Instructions for server administrators are located at https://developers.google.com/time/guides

Revision as of 12:47, 30 August 2017

Invalid details not saved. Please verify your details and try again

You may receive the above error message when attempting to configure your Google API Credentials. It indicates that the values provided are not able to successfully authenticate with the Google API.

If you receive this message, double check your API Key and Secret and try again.

Google Sign-In is unavailable at this time. Please try again later

If you receive this error message when attempting to Sign in using Google, this indicates that the URL configured within your Google App is no longer valid.

Please refer to Configuring Sign-In using Google for instructions regarding how to set the URL for your Google API App.

Google Sign-In is unavailable at this time. Please try again later. Error: Not a valid origin for the client: http://example.com has not been whitelisted for client ID xxxxx

If you receive this error message when attempting to Sign in using Google, this indicates that the URL configured within your Google App is no longer valid.

Please refer to Configuring Sign-In using Google for instructions regarding how to set the URL for your Google API App.

You will only receive this error message when logged in as an admin user and attempting to use the client area Google Sign In option. To verify the cause of the error, we recommend attempting to login while authenticated as an admin user.

Google-url-error.png

Remote account linking via Google has failed. Please make sure that the system clock is set properly

In order for the authentication function to operate, your server time must be within 30 seconds of Google's server time. This error indicates the difference between the two server clocks is outside the acceptable tolerance level (timezones differences do not cause this error).

To resolve this it is necessary to sync your server clock with a NTP server to ensure it is completely accurate. You can use any NTP server of your choice, but Google do offer their own. This can be done from the server command line and typically requires root access:

ntpdate time.google.com

Instructions for server administrators are located at https://developers.google.com/time/guides