Reputation: 9568
I have a web application that uses google & facebook oauth2 to authorize the users. But, the application can also be hosted in other sites in a frame.
The problem is that in that case google blocks the login phase (since it's in a frame), is there a way to overcome it?
Upvotes: 0
Views: 619
Reputation: 22286
You could contrive something where your client makes an ajax call to your server. If your server send the login redirect, your client can use the 302 location to open a popup window. You will of course need to make sure the user isn't blocking popups.
Upvotes: 0
Reputation: 932
I don't think so. If possible stay away from embedding other site with frames.
Upvotes: 1