Firebase Auth and Google Calendar

后端 未结 2 352
日久生厌
日久生厌 2021-01-03 04:43

What I am trying to do is use Firebase to authenticate with Google. Then get some data from Google Calendar.

I got the first part working. I can authenticate with G

2条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-03 05:25

    I got it to work like this. I am just not sure how to use the information, but I got the auth part to work. Hope that it will help someone.

     Auth.$authWithOAuthPopup('google', {
                    remember: "default",
                    scope: 'https://www.googleapis.com/auth/calendar',
                    scope: 'email'
                })
                .then(function (authData) {
    

提交回复
热议问题