2.5.0 • Published 6 years ago

brandwatch-react-auth v2.5.0

Weekly downloads
2
License
UNLICENSED
Repository
github
Last release
6 years ago

brandwatch-react-auth

BrandwatchReactAuth component for seamless application authentication

Usage

The basic concept is to wrap an entire React application with the <BrandwatchwatchReactAuth /> component, which will only render the application if the user is authenticated. When unauthenticated the user will be redirected to the authentication service, and redirected back on a successful login.

render((
  <BrandwatchReactAuth
      audience="TOKEN_BUCKET_ID"
      domain="TOKEN_STORE_URL"
      onCreateStore={ (store) => {/* viziaauth store */} }>
    <Application />
  </BrandwatchReactAuth>
), document.getElementById('root'))

Demo

A demo application can be run...

yarn install
yarn demo

Open up http://localhost:4000/

2.5.0

6 years ago

2.4.0

6 years ago

2.3.0

6 years ago

2.2.2

6 years ago

2.2.1

6 years ago

2.2.0

6 years ago

2.1.0

6 years ago

2.0.0

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago