Skip to content

google grant checkboxes unticked #530

@tomholub

Description

@tomholub

Roman:

I just signed up in the app, but after login with my gmail account I got these errors in console:

":information_source:[ERROR HANDLING] ErrorHandler should be used for this error ***** missedBackupQuery(FlowCrypt.GmailServiceError.providerError(Error Domain=com.google.GTLRErrorObjectDomain Code=403 "Request had insufficient authentication scopes." UserInfo={GTLRStructuredError=GTLRErrorObject 0x281c6a2e0: {code:403 errors:[1] message:"Request had insufficient authentication scopes." status:"PERMISSION_DENIED"}, NSLocalizedDescription=Request had insufficient authentication scopes.}))"
":information_source:[Setup][SetupInitialViewController] Changed to new state error(FlowCrypt.GmailServiceError.missedBackupQuery(FlowCrypt.GmailServiceError.providerError(Error Domain=com.google.GTLRErrorObjectDomain Code=403 "Request had insufficient authentication scopes." UserInfo={GTLRStructuredError=GTLRErrorObject 0x281c6a2e0: {code:403 errors:[1] message:"Request had insufficient authentication scopes." status:"PERMISSION_DENIED"}, NSLocalizedDescription=Request had insufficient authentication scopes.})))"

Me:

Did you untick any of the checkboxes during oauth grant maybe?

Roman:

No, I haven't unticked anything, just tapped "Allow"
I restarted app and checkbox was unticked by default
So probably Gmail needs user to manually tick checkboxes for allowing access

Me:

Not normal - very interesting. Most users first use the browser extension, where this is not needed. I wonder if they then use the iOS app second, it's already pre-checked. Let's move this conversation to GitHub, it would be good to have it documented. I'll file an issue.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions