The-WebOps-Club / fest-api

An API implementation for Saarang Shaastra like fests, including ERP and Mainsite and Mobile interface
12 stars 11 forks source link

Auto Google login #64

Closed AbdealiLoKo closed 10 years ago

AbdealiLoKo commented 10 years ago

If logged in to multiple accounts in google, Google docs iframe cups.

AbdealiLoKo commented 10 years ago

Have written some script I found online for this. It addresses the issue if user is logged in, but not if user has multiple accounts. I do not think it is possible to check for that :/

... need to think later

AbdealiLoKo commented 10 years ago

The proper way of doing this is to use driveAPI and check if the email id of user can access the site or not ... but it's too much overhead :/ Can do it IF required ...