
Description
kuzzle-sdk-login-oauth-popup is an extension for the Kuzzle javascript-sdk.
It's meaning is to add the loginOauthPopup method to your SDK Kuzzle instance to be able to login with an OAUTH strategy by opening a popup to the chosen provider.
Prerequisite
You need to have the Kuzzle javascript SDK included in your project in order to make it work.
$ bower install kuzzle-sdk
Definition
| Arguments | Type | Description | Default|---------------|---------|----------------------------------------|| ``strategy`` | string | The strategy to use || ``options`` | string | Options that will be given to the windowopen | 'width=800, height=600'| ``cb`` | Function | The callback |
Installation
$ bower install kuzzle-sdk-login-oauth-popup
Usage
var kuzzle = 'http://localhost:7512';kuzzle;