I also noticed different urls generated by  userService.createLoginURL
String loginUrl = userService.createLoginURL(continueURL, null, providerUrl,
attributes);

On GAE I get URLs like this one:
http://myapp.appspot.com/_ah/login_redir?claimid=myopenid.com&continue=http://myapp.appspot.com/myurl
It works fine. I can login with openID.

On local development server I get:
http://localhost:8888/_ah/login?continue=myurl
And this does not work. :(

The question remains the same: is OpenID supported by local Development
server?
Google guys, please, give me an hint...


  fabrizio



On Thu, Oct 7, 2010 at 10:46 AM, Fabrizio <[email protected]> wrote:

> Hello, I'm testing OpenID (SDK 1.3.7).  My env is: Eclipse + GAE Plugin.
> Question: is OpenID supported by local development server?
>
> I have a protected area. I force users to login with:
>
>
> <security-constraint>
>
> <web-resource-collection>
>
> <url-pattern>/protected/*</url-pattern>
>
> </web-resource-collection>
>
> <auth-constraint>
>
> <role-name>*</role-name>
>
> </auth-constraint>
>
> </security-constraint>
>
> When I try to access the protected area from production I get correctly
> redirect to:
>
> http://MYAPP.appspot.com/_ah/login_required?continue=http://MYAPP.appspot.com/protected/
>
> But on local development server I get:
> http://localhost:8888/_ah/login?continue=http://localhost:8888/protected/
>
>
> Why?
>
>  fabrizio
>
>
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
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-java?hl=en.

Reply via email to