On Tue, Oct 21, 2014 at 3:14 PM, philippe pithon <[email protected]>
 wrote:

> Following your advice, I dropped Users API... I only use Drive client
> library...
> Google connection and Drive upload works well... Thanks...
>
> I have 2 small problems to solve (I didn't have with Users API) :
> - find the method for logoutURL
> - on Google page connection, there is no link to create accounts google
>


There's no need to redirect to a logout URL. When you want to log the user
out you can invalidate the access token Google gave your application.

Assuming you have a GoogleCredential object,
call credential.getAccessToken() and then make a request to
https://accounts.google.com/o/oauth2/revoke?token=access_token_here . The
credentials you have will stop working and you can return the user to a
logged-out screen.

For the create account link, there should be one. I tried using the oauth
flow myself and there was a create account link at the bottom of the page:
http://imgur.com/cHSEeq7 (note how the address box has the oauth redirect
address). Can you take a screenshot of what you're seeing?


-----------------
-Vinny P
Technology & Media Consultant
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.

Reply via email to