I’m using server side Facebook authentication. So first, the application redirects the client to https://www.facebook.com/dialog/oauth?... URL, and in this URL there is, as a parameter, the string “display=popup”, but when the application redirects the client the dialog is displayed as page, so no window is opened.
I’m using server side Facebook authentication. So first, the application redirects the client to
Share
Server side can only redirect to a URL; it cannot tell the client in which window to open/display the URL.
Facebook’s client-side authentication takes care of showing the OAuth dialog in a popup window. If you have to use server-side authentication, you’ll need to open the URL in a popup yourself:
but then you’ll also need to set up the window dimensions (width/height) yourself (by specifying them in
window.open()).