I am trying to create this example:
https://github.com/GoogleDeveloperExperts/chrome-extension-google-apis .
And I am having problems with my client id. I have already added to my client id the Gmail API service. Also when I use the example's client id everything is ok but when I use my client id I get this error:
OAuth2 request failed: Service responded with error: 'bad client id: APP_ID_OR_ORIGIN_NOT_MATCH'.
Have someone an idea what is wrong?
Two possibilities that I've faced:
In my case, I forgot to include scopes in the manifest file in the oauth2 section.
"scopes": [
"openid", "email", "profile"
]
If it ever helps anyone...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With