@salte-auth/bitbucket
v3.1.0
Published
A Salte Auth provider for authenticating with Bitbucket!
Downloads
6
Readme
Install
$ npm install @salte-auth/bitbucket
Usage
import { SalteAuth } from '@salte-auth/salte-auth';
import { Bitbucket } from '@salte-auth/bitbucket';
import { Redirect } from '@salte-auth/redirect';
const auth = new SalteAuth({
providers: [
new Bitbucket({
clientID: '12345'
})
],
handlers: [
new Redirect({
default: true
})
]
});
auth.login('bitbucket');