INSTALLING
yarn add @token-public-org/token-sso-react-library
npm i --save @token-public-org/token-sso-react-library
PREPARE
Adding provider to app
import { TokenSSO } from '@token-public-org/token-sso-react-library';
const Index = ()=>(
<TokenSSO.Provider providerUrl={DEFINE_SSO_PROVIDER_URL}>
...APP
</TokenSSO.Provider>
)
root.render(Index)
import { TokenSSO } from '@token-public-org/token-sso-react-library';
const Index = ()=>(
<TokenSSO.Provider providerUrl={DEFINE_SSO_PROVIDER_URL}>
...APP
</TokenSSO.Provider>
)
root.render(Index)