You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here, I want to use the accessToken which I obtained by following "device code" flow authentication. Now, I want to use that accessToken in place of cred to send the email via MSAL Graph API. After using accessToken in place of cred the mail initiation process is not working.
Error: 2024/01/24 15:52:16 Error sending mail: error status code received from the API
The problem is now better understood; although the provided code functions properly, it encounters difficulties in sending an email with the "Mail.Read" and "Mail.Send" scopes using the cached access token. Which scope should I employ to enable email transmission with the cached token, allowing us to bypass authentication for a specific duration!
Hi Team,
Here, I want to use the
accessToken
which I obtained by following "device code" flow authentication. Now, I want to use thataccessToken
in place ofcred
to send the email via MSAL Graph API. After using accessToken in place of cred the mail initiation process is not working.Error:
2024/01/24 15:52:16 Error sending mail: error status code received from the API
Previous implementation:
Current implementaion:
The text was updated successfully, but these errors were encountered: