In your model did you try the following?

auth.settings.login_next=XML('/myapp')

if it does not work it is a bug

mic

2011/4/15 berubejd <[email protected]>:
> I am having the hardest time determining what the correct way is to
> set the URL that a user will be redirected to after the authentication/
> authorization redirect to Facebook.  What I am currently seeing is
> that a user who has not yet authenticated with Facebook will be
> properly forwarded for authentication but they are returned to:
>
>   /myapp/default/index
>
> Since nearly the entire app is doing partial page loads with AJAX, I
> need them to be returned to:
>
>  /myapp/
>
> If they have authenticated previously, and don't require re-
> authentication, that is where subsequent application loads end up and
> everything works fine.  If they get returned to the former (/myapp/
> default/index) then a later AJAX request, for index2 as an example,
> ends up at:
>
>  /myapp/default/default/index2
>
> This, as you can imagine, is not going to work.  Might anyone be able
> to give me an idea of what I need to do to get this to work properly?
> Will I need to patch one of the underlying files in order for me to
> override the default?
>
> Thanks!

Reply via email to