Closed azamsolix closed 2 years ago
Hey @azamsolix What error are you getting back? Have you looked at this? You may find something useful there to complete your integration.
Sir below is the error i am getting.
Error: AUTHENTICATE failed.
I am getting both access token and refresh token and then i am encoding access token to base64 and passing it to imap npm and it is returning authentication failed.
In below link it is asking to add outlook.microsoft.com scope but that scope is depreceted and it is not available.
https://docs.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth#get-an-access-token Thanks for helping me Azam ahmed
Context
How can we help?
Hi sir, I am getting access token and refresh token both and by using access token i am trying to connect to IMAP but it is returning authentication error.I don't know what i am doing wrong.Below is the complete source code
Thanks Azam