When I try to generate the GMAIL_API_REFRESH_TOKEN using the command provided with the valid client_Id and client_secret information, the "gmail_auth2" script gave me a URL but when I copied and paste it to the Browser, google displayed the "Authorization" error with "ERROR 400: redirect_uri_mismatch" and the body detail is below:
The redirect URI in the request, urn:ietf:wg:oauth:2.0:oob, can only be used by a Client ID for native application. It is not allowed for the WEB client type. You can create a Client ID for native application at https://console.developers.google.com/apis/credentials/oauth...
When I try to generate the GMAIL_API_REFRESH_TOKEN using the command provided with the valid client_Id and client_secret information, the "gmail_auth2" script gave me a URL but when I copied and paste it to the Browser, google displayed the "Authorization" error with "ERROR 400: redirect_uri_mismatch" and the body detail is below:
The redirect URI in the request, urn:ietf:wg:oauth:2.0:oob, can only be used by a Client ID for native application. It is not allowed for the WEB client type. You can create a Client ID for native application at https://console.developers.google.com/apis/credentials/oauth...
Please help to look into the issue.
Regards, YoJimBo