cred-redux

Redux middleware for managing JWTs client-side and making API calls to an authenticated server.

Usage no npm install needed!

<script type="module">
  import credRedux from 'https://cdn.skypack.dev/cred-redux';
</script>

README

Cred Redux

A Redux middleware for managing JSON Web Tokens client-side in a Redux application. It handles storing tokens locally, refreshing access-tokens when they expire, and making API calls to cloud servers (including access-tokens in the Authorization header).