Website SDK Installation
This library provides a wrapper around fetch
or axios
to automatically refresh a session in case the access token has expired.
npm
Using npm i --save [email protected]~5.0.0
<script>
Using Put the following anywhere in your <head>
tag
<script src="https://cdn.jsdelivr.net/gh/supertokens/[email protected]/bundle/bundle.js"></script>