How to use the @axa-fr/react-oidc-fetch-core.withFetchRedirectionOn403 function in @axa-fr/react-oidc-fetch-core

To help you get started, we’ve selected a few @axa-fr/react-oidc-fetch-core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github AxaGuilDEv / react-oidc / packages / context-fetch / src / withAuthentication.js View on Github external
const enhance = fetch =>
  compose(
    withFetchToken(fetch),
    withFetchSilentAuthenticateAndRetryOn401(),
    withFetchRedirectionOn403()
  );
github AxaGuilDEv / react-oidc / packages / redux-fetch / src / withAuthentication.js View on Github external
const enhance = fetch =>
  compose(
    withFetchToken(fetch),
    withFetchSilentAuthenticateAndRetryOn401(),
    withFetchRedirectionOn403()
  );

@axa-fr/react-oidc-fetch-core

MIT
Latest version published 3 years ago

Package Health Score

67 / 100
Full package analysis

Similar packages