capacitor-firebase icon indicating copy to clipboard operation
capacitor-firebase copied to clipboard

bug: Google calendar scops

Open Valonfeka opened this issue 2 years ago • 1 comments

Plugin(s):

CapacitorFirebaseAuthentication/Google

Platform(s):

IOS

Current behavior:

I am adding the scope to ask for the permission of Calendar API but from what I see so far it's not working.

Expected behavior:

Needs to get ask for permission of the Calendar API

Steps to reproduce:

Related code:

const result = await FirebaseAuthentication.signInWithGoogle({
     customParameters: [],
     scopes: ['https://www.googleapis.com/auth/calendar']
 });

Other information:

Capacitor doctor:

Latest Dependencies:

@capacitor/cli: 4.3.0 @capacitor/core: 4.3.0 @capacitor/android: 4.3.0 @capacitor/ios: 4.3.0

Installed Dependencies:

@capacitor/ios: 3.5.1 @capacitor/android: 3.5.1 @capacitor/cli: 3.8.0 @capacitor/core: 4.3.0

insert the output from `npx cap doctor` here

Valonfeka avatar Sep 28 '22 15:09 Valonfeka

I don't have any experience with this so far but it seems it's a bit more complex and you have to manage the OAuth access tokens yourself, see:

  • https://github.com/firebase/firebase-js-sdk/issues/519
  • https://www.youtube.com/watch?v=Bj15-6rBHQw

robingenz avatar Sep 28 '22 16:09 robingenz

It looks like there hasn't been a reply in 30 days, so I'm closing this issue.

github-actions[bot] avatar Oct 29 '22 01:10 github-actions[bot]