-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XOAuth2 returns "unauthorized_client" #266
Comments
unauthorized_client might happen when clientId and clientSecret do not match |
It says 'Username and Password not accepted. [...]" I use clientId, clientSecret and user (email address) from console.developers.google.com. XOAuth2 parameters change depending on who is sending the email or those parameters are from Google App owner? I already added https://mail.google.com/ scope on Google's OAuth 2.0 Playground |
Any chance to send an email using this library, without requiring the user to type his password every time? |
Check the following things :-
|
For anyone having "unauthorized_client" issues whilst the following apply:
I finally solved it following the documentation here: https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority In essence going to Emails started working after that. |
I want to send an email from the Google account currently logged, so I'm trying to send mail through XOAuth2 option.
I'm setting these parameters:
Also I'm using hello.js for authenticating with OAuth2.
Is this configuration correct?
Thanks in advance!
The text was updated successfully, but these errors were encountered: