oauth-window This is a simple utility to allow users to authenticate via a popup window. var oauthWindow = new window.OauthWindow("/link/to/your/auth-provider/url", 500); window.open();