3.2.0 • Published 3 years ago

@salte-auth/google v3.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

NPM Version NPM Downloads CI Build Coveralls

semantic-release

Install

$ npm install @salte-auth/google

Usage

import { SalteAuth } from '@salte-auth/salte-auth';
import { Google } from '@salte-auth/google';
import { Redirect } from '@salte-auth/redirect';

/* 
 * Feel free to try out Salte Auth with this configuration!
 * 
 * It should work with the following domains:
 * - localhost:8081
 */
const auth = new SalteAuth({
  providers: [
    new Google({
      clientID: '701257675570-eno2h1b57kranmaoj4245hbk5pignduh.apps.googleusercontent.com',
      responseType: 'code',
    })
  ],

  handlers: [
    new Redirect({
      default: true
    })
  ]
});

auth.login('google');
3.2.0

3 years ago

3.0.10

3 years ago

3.1.0

3 years ago

3.0.4

4 years ago

3.0.3

4 years ago

3.0.2

5 years ago

3.0.1

5 years ago

3.0.0

5 years ago

1.0.0-rc.1

5 years ago