Universal Authentication to Google Data API?

Posted by viatropos on Stack Overflow See other posts from Stack Overflow or by viatropos
Published on 2010-03-28T16:24:14Z Indexed on 2010/03/28 16:33 UTC
Read the original article Hit count: 482

Filed under:
|
|

Hey,

I want to be able to have say 10 admin users store all their documents on google docs for a domain ('http://docs.google.com/a/domain.com'), and have everyone else be able to view them through 'domain.com/documents'. I'm just not certain how the whole authentication thing works in that case. Should I use OAuth? Or could I just use ClientLogin for say the root/global admin, and anytime someone goes to the site, they login as that? That works for personal docs, but it doesn't seem to be working for Google Apps.

I would like it so the user has no idea they're accessing google docs, so I don't want them to have to say "Yes, Authenticate this App with Google", as seen in this Doclist Manager App.

The app is basically:

  1. Admin stores a bunch of forms and documents
  2. User uses form and views documents the admin has posted

... so there's no need to access the user's Google Docs. But it seems like AuthSub and OAuth are addressing that instead...

Thanks for the tips.

© Stack Overflow or respective owner

Related posts about ruby

Related posts about open-authentication