Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facebook iFrame Applications Redirect Fix #75

Merged
1 commit merged into from Nov 29, 2010

Conversation

Projects
None yet
4 participants
@tmilewski
Copy link
Member

commented Oct 25, 2010

In some cases Facebook iframe applications fail as Facebook would try and load itself into the iframe. By adding ":iframe => true" to the options, Omniauth will force the redirect out of the current frame and into the top window.

@langalex

This comment has been minimized.

Copy link

commented May 10, 2011

@pnicholls I'm having the same problem (app jumps out of the iframe) - how did you solve it?

@pnicholls

This comment has been minimized.

Copy link

commented May 11, 2011

@langalex try adding

Rails.application.config.middleware.use OmniAuth::Builder do
OmniAuth.config.full_host = 'http://apps.facebook.com/' << YOUR APP NAME
end

@langalex

This comment has been minimized.

Copy link

commented May 11, 2011

@pnicholls thanks that did it

@rorcraft

This comment has been minimized.

Copy link

commented Jul 20, 2011

@pnicholls @langalex I got (App "MYAPP" is unavailable)
browser url shows http://apps.facebook.com/MYAPP/auth/facebook/callback?code=xxxxx

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.