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!

