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
This is the full log before failure:
flutter: A: connecting to server imap.gmail.com:993 - secure: true, timeout: 0:00:10.000000
flutter: S: * OK Gimap ready for requests from 73.227.114.101 c15mb98325735qvh
This is the full log before failure:
flutter: A: connecting to server imap.gmail.com:993 - secure: true, timeout: 0:00:10.000000
flutter: S: * OK Gimap ready for requests from 73.227.114.101 c15mb98325735qvh
flutter: C: a0 AUTHENTICATE OAUTHBEARER (base64 code scrambled)
flutter: S: + eyJzdGF0dXMiOiJpbnZhbGlkX3JlcXVlc3QiLCJzY29wZSI6Imh0dHBzOi8vbWFpbC5nb29nbGUuY29tLyJ9
flutter: A: continuation not handled: [+ eyJzdGF0dXMiOiJpbnZhbGlkX3JlcXVlc3QiLCJzY29wZSI6Imh0dHBzOi8vbWFpbC5nb29nbGUuY29tLyJ9
]
I get the auth token successfully using this scope : 'https://mail.google.com/'
I saw a solved issue with same failure solved from this scope.
Here is my code: It fails at authenticateWithOAuthBearer.
ImapClient imapClient = ImapClient(isLogEnabled: true); await imapClient.connectToServer("imap.gmail.com", 993, isSecure: true); await imapClient.authenticateWithOAuthBearer(email, access_token, host: "imap.gmail.com", port: 993); FetchImapResult fetchResult = await imapClient.fetchRecentMessages(messageCount: 5);
The text was updated successfully, but these errors were encountered: