google-authentication

How can I verify a Google authentication API access token?

How can I verify a Google authentication access token? I need to somehow query Google and ask: Is [given access token] valid for the [[email protected]] Google account? Short version: It's clear how an access token supplied through the Google Authentication Api :: OAuth Authentication for Web Applications can be used to then request ...

AuthSub target path prefix does not match the provided "next" URL

I am trying to use the Gcal API in PHP. I am using the ZEND framework function getAuthSubUrl($company) { $next = "http://$company.mysite.com"; $scope = 'http://www.google.com/calendar/feeds/'; $secure = false; $session = true; return (Zend_Gdata_AuthSub::getAuthSubTokenUri($next, $scope, $secure, $session)); } $authSubUrl =...

How do I get a permanent long term authentication token for google apps application?

Hi guys I'm working on my google apps application - currently I've build the authentication upon the example available at google namely this url The problem is that the session seems to time out and that everytime I am logged into my google apps account and go to my application I need to authenticate again and go through the screen whe...

OAuth for installed applications with .NET

Hi everyone, I am trying to get OAuth for installed applications to work with my code, with actually little success... Here is the code: GOAuthRequestFactory factory = new GOAuthRequestFactory("cl", "MyApp"); factory.ConsumerKey = "anonymous"; factory.ConsumerSecret = "anonymous"; // example of perfo...

One click login to my google apps solution how can I do it?

Hi guys I'm developing a google apps solution and I'm building on the tutorial application give by google at http://code.google.com/googleapps/marketplace/tutorial_php.html - the thing is that the example given sets up the application such that the user has to enter in manually the email address or username and then it takes the user thr...

How do I log into a google apps account associated with my custom application without prompting the user?

Hi guys, I'm working on a google apps based application - its a project management system and I'm setting it such that it requires a single google apps account to be used for all users of a particular installed instance. I.E someone installs it using a google apps account he/she can create users who can log in from a separate login scree...

Can I retain a Google apps session token permanently for a specific user who logs into my google application?

Hi guys, is it possible to retain upon authorization a single session token for a user who signs into my gogle application. CUrrently my application seems to every now and then require the user to authenticate into google apps. I think it has to do with session dying out or so. I have the following code: function getCurrentUrl() { g...

How do I seamlessly authenticate users to use services associated with a Google Apps account?

Hi guys I'm building a Google Apps based solution. Basically I'm setting it up such that: When a Google Apps account holder installs it he/she enters the authentication details for a single Googles Apps account to be used - that account would be used by all users of the instance of the installed system for uploading to Google Docs asso...

How to send authenticated requests to Google Reader?

It seems that Google has disabled the old way of sending cookie SID to their Google Data Services, specifically Google Reader. This way does not work at least for me: //create request NSString* content = [NSString stringWithFormat:@"accountType=HOSTED_OR_GOOGLE&Email=%@&Passwd=%@&service=ah&source=myapp", [loginView username].text, [lo...

Google Apps Premium Edition: which authentication mechanism to use?

Our company has a web application that is only used internally by our employees. We also have Google Apps Premier Edition. We would like to make it so our employees can log into our private web application using the Google Apps account that they already have. Requirements: We want to display our own login form. We don't want to pass the...

Restrict Google account logins to a specified Apps domain

How can I let users log in to my web app with their Google account, and verify that they logged in from a certain Google Apps domain? Does the hd parameter to the Google Authorization service ensure that only the selected domain can be used to login? Or can I get the logged in user's email and verify that it ends with "@domain.com"? Th...

SalesForce to emulate a google session login

Hey all, I'm pretty new to SalesForce and their Apex language. I've been reading some documentation and tried the integration between Google and SalesForce. I'm wondering is it possible to emulate an auth token from google to SalesForce? I'm trying to read a google spreadsheet and then fill up a SalesForce object automatically. The us...