English 中文(简体)
Syncing google calendar with custom calendar
原标题:

I am using google calendar API to sync google calendar with our custom calendar. Right now I am trying it with a crude way by asking user if he/she wants to sync their calendar with google or not. If they say "yes" , I show them login screen where they have to enter their google user id and password and the calendar will be synced. But now when I change the month , the screen gets refreshed and all login information is lost and that changed month doesn t show up the events from google calendar.

What is a best way for authentication AuthSub, OAuth or the crude way I mentioned for testing locally? I really don t know if I can use OAuth locally.

问题回答

Never, ever require your user to enter credentials from other site into yours.

That s why protocols like OAuth were created, and they are meant to be used.





相关问题
How do I get secure AuthSub session tokens in PHP?

I am using the Google/YouTube APIs to develop web application which needs access to a users YouTube account. Normal unsecure requests work fine and I can upgrade one time tokens to session tokens ...

Syncing google calendar with custom calendar

I am using google calendar API to sync google calendar with our custom calendar. Right now I am trying it with a crude way by asking user if he/she wants to sync their calendar with google or not. If ...

How does one retrieve the email address of a user with GData?

I m trying to use GData to retrieve the email address, real name, and profile URL of the user that just authorized my site using Google OAuth. We know how to request it using Google s OpenID flow, ...

Google Contacts API - No Redirection

I am currently working on Contact Importer web app (in PHP) so I will be able to grab email address from a user s account on Gmail, Yahoo, etc and use them for my own evil purposes. Just kidding, my ...

Invalid Authsub token in Google sites for apps

I do not get any error while trying to access feed content for google sites from application hosted on gmail authenticated account. But I get Token invalid - Invalid AuthSub token. when I try to ...

oauth vs authsub

why do we need authsub when we have oauth?

Programmatically change gmail status via OAuth or Authsub

I would like my application to programmatically update my user s gmail/google talk status on their behalf but I dont want to store their password because of the privacy risk Does anyone know if/how ...

热门标签