Gmail API access using Android

后端 未结 4 678
谎友^
谎友^ 2021-01-02 02:20

I am trying to access the Gmail API using an Android application. I have successfully requested and received an access token using all available scope combinations. But it s

4条回答
  •  萌比男神i
    2021-01-02 02:43

    That error message is deceptive, I believe it also happens when the developer project credentials client isn't correct. For example you picked "web application" when really you want "installed application".

    Confirm you're correctly following instructions from: https://developers.google.com/accounts/docs/OAuth2

    (Should be "installed application", etc.)

    Can you post the oauth client info you have from the developers console? (Type and any other non-confidential info in there, etc.)

提交回复
热议问题