1.0.10 • Published 5 years ago

@vizago/vizago-js v1.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
5 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

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago