imap - OAuth 2 SASL string error -
i have generated following sasl string oauth 2:
user=designadmin@npmdesign.mygbiz.com^aauth=bearer ya29.ahes6zttyou0nr0vaybrvkznchjpuzepr4hk3w3dxcxfq88^a^a
then encoded , sent encoded string this:
msb authenticate xoauth2 encoded string
but error response as:
{"status":"400","schemes":"bearer","scope":"https://mail.google.com/"}
what error mean , how can correct it?
i figured out. in case, gmail scope("https://mail.google.com/") missing, token generation process. works fine now.
Comments
Post a Comment