UNPKG

@auth0/auth0-spa-js

Version:

Auth0 SDK for Single Page Applications using Authorization Code Grant Flow with PKCE

12 lines (11 loc) 306 B
import 'ts-polyfill'; import 'unfetch/polyfill/index'; if (!window.crypto && (<any>window).msCrypto) { (<any>window).crypto = (<any>window).msCrypto; } if (!window.crypto) { throw new Error( 'For security reasons, `window.crypto` is required to run `auth0-spa-js`.' ); } export * from './index';