@jangolano/atlassian
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

A Salte Auth provider for authenticating with Atlassian Products!

DocsDemo

NPM Version NPM Downloads

Install

$ npm install @jangolano/atlassian

Usage

import { SalteAuth } from '@salte-auth/salte-auth';
import { Atlassian } from '@jangolano/atlassian';
import { Redirect } from '@salte-auth/redirect';

const auth = new SalteAuth({
  providers: [
  new Atlassian({
    clientID: '12345',
    responseType: 'code',
    scope: 'read:jira-work',
    audience: 'api.atlassian.com',
    prompt: 'consent',
    redirectUrl: 'http://localhost'
  })
  ],

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

auth.login('atlassian');

Package Sidebar

Install

npm i @jangolano/atlassian

Weekly Downloads

0

Version

1.2.0

License

MIT

Unpacked Size

50.1 kB

Total Files

28

Last publish

Collaborators

  • jangolano