A
|
When you click the Google Resource Setting window's Validate button, and the StoredCredential file does not exist under the <My Documents>\Magic\projects\<project name>\<current project>\resource\Google\<resource name>\credentialsdatastore folder, a new StoredCredential file is created. However, this newly created StoredCredential file is not valid as it does not contain the client_secrets token. This causes the validation process to fail. In this situation, you need to perform the OAuth 2.0 authorization flow again, from the beginning, to create a valid StoredCredential file.
A valid StoredCredential file is a file that was retrieved from the Google server after performing the OAuth 2.0 authorization flow. After the completion of the validation process, the StoredCredential file is recognized as a valid one. This is why the file's Date modified field is changed when you click OK upon receipt of the validation success message.
|