Skip to content
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

continuation not handled: #234

Open
kinga112 opened this issue Dec 29, 2023 · 0 comments
Open

continuation not handled: #234

kinga112 opened this issue Dec 29, 2023 · 0 comments

Comments

@kinga112
Copy link

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);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant