Outbound auth flow client

Typescript ❤️

Front-end library for starting outbound auth flows

Install
yarn add @atlaskit/outbound-auth-flow-client
Source
Bundle
Changelog
Latest

3.4.6

Patch Changes


@atlaskit/outbound-auth-flow-client

Autenticate with outbound-auth-flow service in a popup.

Installation

yarn add @atlaskit/outbound-auth-flow-client

Usage

import { auth } from '@atlaskit/outbound-auth-flow-client'; auth( 'https://outbound-auth-service-url/outboundAuth/start?containerId=' + containerId + '&serviceKey=' + serviceKey ).then( () => console.log('successfully authenticated'), error => console.log('failed to authenticated', error), );