Thanks.

On 5/29/10, Ross M Karchner <[email protected]> wrote:
> Yeah, that's what you need to do if you plan on giving people provider
> choices.
>
> You could do it that way, or you could accept the openID url as form input,
>  do the create_login_url, and redirect to the generated URL.
>
> On Fri, May 28, 2010 at 2:04 PM, Scott Ellis <[email protected]> wrote:
>
>> It says in the docs for 'create_login_url' that if I provide
>> federated_identity then "the user will be redirected to your app's sign-in
>> page for OpenID"...is this something different to the page provided by the
>> handler for _ah/login_required? Does it mean that I should not be serving
>> up
>> a form, but rather a page full of links (for different providers) created
>> using 'create_login_url'?
>>
>>
>> On 29 May 2010 03:39, Scott Ellis <[email protected]> wrote:
>>
>>> Oh...maybe this is just a bad time to try?
>>>
>>>
>>> On 29 May 2010 03:29, Scott Ellis <[email protected]> wrote:
>>>
>>>> I have.
>>>>
>>>> I turned on openid auth in the app engine console, and without any
>>>> changes to my app I got a redirect loop (for the '/' url which is set to
>>>> login:required in app.yaml):
>>>>
>>>> This webpage has a redirect loop.
>>>>
>>>> The webpage at *
>>>> http://wassuptime.appspot.com/_ah/login_required?continue=http://wassuptime.appspot.com/_ah/login_required?continue=http://wassuptime.appspot.com/_ah/login_required?continue=http://wassuptime.appspot.com/_ah/login_required?continue=http://wassuptime.appspot.com/_ah/login_required?continue=http://wassuptime.appspot.com/_ah/login_required?continue=http://wassuptime.appspot.com/_ah/login_required?continue=http://wassuptime.appspot.com/_ah/login_required?continue=http://wassuptime.appspot.com/_ah/login_required?continue=http://wassuptime.appspot.com/_ah/login_required?continue=http://wassuptime.appspot.com/_ah/login_required?continue=http://wassuptime.appspot.com/_ah/login_required?continue=http://wassuptime.appspot.com/_ah/login_required?continue=http://wassuptime.appspot.com/_ah/login_required?continue=http://wassuptime.appspot.com/_ah/login_required?continue=http://wassuptime.appspot.com/_ah/login_required?continue=http://wassuptime.appspot.com/_ah/login_required?continue=http://wassuptime.appspot.com/_ah/login_required?continue=http://wassuptime.appspot.com/_ah/login_required?continue=http://wassuptime.appspot.com/_ah/login_required?continue=http://wassuptime.appspot.com/_ah/login_required?continue=http://wassuptime.appspot.com/
>>>> * has resulted in too many redirects. Clearing your cookies for this
>>>> site or allowing third-party cookies may fix the problem. If not, it is
>>>> possibly a server configuration issue and not a problem with your
>>>> computer.
>>>> I tried clearing my cookies...no effect.
>>>>
>>>> I tried implementing a handler for _ah/login_required, which serves up
>>>> the page I told it to...but I can't figure out from the docs how to take
>>>> the
>>>> open id URL the user can enter there, and feed it into GAE so I can use
>>>> get_current_user(). That is, if I serve up a form, what should the
>>>> action
>>>> attribute contain as the target URL, and what fields does the form need
>>>> to
>>>> have? Or alternatively, if I add a handler for the form submission, what
>>>> do
>>>> I need to do in app engine so that the user is signed in? Am I missing
>>>> something?
>>>>
>>>> Any help would be appreciated.
>>>>
>>>> Scott
>>>>
>>>>
>>>>
>>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<google-appengine%[email protected]>
>> .
>> 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 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.
>
>

-- 
Sent from my mobile device

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

Reply via email to