1.0.10 • Published 7 years ago

@vizago/vizago-js v1.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
7 years ago

Add Vizago to your application

# Install with npm
yarn install --save @vizago/vizago-js

# Install with yarn
yarn add @vizago/vizago-js

Include @vizago/vizago-js with your build system or load it manually:

<script type="text/javascript" src="node_modules/@vizago/vizago-js/dist/vizago.js"></script>

Authenticate with WebAuthentication

Create a web authentication instance:

const vizago = new vizago.WebAuth({
  domain: 'YOUR_DOMAIN',
  clientID: 'YOUR_CLIENT_ID',
  redirectUri: 'http://localhost:3000/callback',
  responseType: 'token id_token',
  scope: 'openid'
});

To login a user, call:

vizago.authorize();
1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago