I'm just trying to log in with Google and get permissions for Calendar, etc. However, my code in the client requests user login for offline access. Why doesn't he request calendars, etc.? In addition, it does not raise an invitation for approval. I am using ian: accounts-ui-bootstrap-3
Accounts.ui.config({ requestPermissions: { google: ['https://www.googleapis.com/auth/calendar', 'https://www.googleapis.com/auth/calendar.readonly', 'https://www.googleapis.com/auth/userinfo.profile', 'https://www.googleapis.com/auth/userinfo.email', 'https://www.googleapis.com/auth/tasks'], // forceApprovalPrompt: {google: true} }, forceApprovalPrompt: {google: true}, requestOfflineToken: {google: true}, passwordSignupFields: 'EMAIL_ONLY', // extraSignupFields: [] });
The following Meteor docs do not help as I get this error:
Uncaught Error: Accounts.ui.config: Invalid key: forceApprovalPrompt
source share