Hi Alex,
Thanks for your comment. 
I am trying to access my own app deployed on production servers.
However, my application is a java application so the scope is in the 
web.xml, as far as I understand.
I can set the scope for only part of the application, too.
However, I'm trying to authenticate a user using an installed application, 
not a web page. For this I need a secret key.
These are available when registring to use a google service like, in my 
case, the prediction API. I'm unable to figure out how to get OAuth 2.0 
secrets for my appengine app. I can register to get OAuth 1.0 secret and 
key but, as I wrote in a previous post, I failed to complete the OAth 1.0 
dance successfully.
Have you previously used OAuth 2.0 from an installed application?
Thanks,
Daniel


On Thursday, September 27, 2012 10:47:53 AM UTC+2, alex wrote:
>
> Hey Daniel, 
>
> If you're trying to access your own app deployed on production 
> servers, it's already available: see appcfg.py --oauth2. Look inside 
> appcfg.py - there's a specific scope for that. Off the top of my head, 
> it must be something like 
> "https://www.googleapis.com/auth/appengine.admin"; but I'm not sure. 
> Though, if I'm not mistaken, it currently authorizes for the whole app 
> (all or nothing, i.e. as an admin). 
>
> Otherwise, if you're talking about an app exposing some kind of API to 
> external parties, OAuth 2.0 is available within Endpoints service, 
> which is currently under trusted tester program. You can sign up here: 
> http://endpoints-trusted-tester.appspot.com/ 
>
> -- alex 
>
> On Wed, Sep 26, 2012 at 7:23 PM, Daniel Perry 
> <[email protected]<javascript:>> 
> wrote: 
> > Hi, 
> > As I can't seem to get help regarding my failure to use OAuth 1.0 to 
> access 
> > my appengine application, are there plans to add OAuth 2.0 support to 
> enable 
> > authentication using this method? Or, perhaps, if such support already 
> > exists, how do I get the correct key for authenticating an installed 
> > application to use my appengine servlet? 
> > The use of OAuth 1.0 appears to be deprecated but still operational, but 
> I 
> > would prefer 2.0, in any case. 
> > Thanks, 
> > Daniel 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "Google App Engine" group. 
> > To view this discussion on the web visit 
> > https://groups.google.com/d/msg/google-appengine/-/N63R_R7OgWsJ. 
> > To post to this group, send email to 
> > [email protected]<javascript:>. 
>
> > To unsubscribe from this group, send email to 
> > [email protected] <javascript:>. 
> > For more options, visit this group at 
> > http://groups.google.com/group/google-appengine?hl=en. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/_PKJrhm5AR4J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to