I have an application that uses authorization at facebook before the user arrives to the application. The module is configured to register the users automatically. Whenever the user comes to the application it logins him automatically. If the user doesn't have the cookie installed, or it expired, then makes the login but the redirections lead him outside the facebook application.

I want to keep them inside the facebook app, without replacing the application url. Do I do something wrong? Do you need more info on that?

Comments

Dave Cohen’s picture

Try enabling devel.module and configure it to show redirection pages. If there's a redirection doing this, it would help to know exactly where that redirection is coming from.