react-token-auth icon indicating copy to clipboard operation
react-token-auth copied to clipboard

Results 10 react-token-auth issues
Sort by recently updated
recently updated
newest added

Hi! I'm using `react-token-auth` and I'm noticing something odd. First, here's my code for `createAuthProvider` ``` export const {useAuth, authFetch, login, logout} = createAuthProvider({ accessTokenKey: 'access_token', onUpdateToken: (token) => fetch(...

Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.5 to 1.2.8. Changelog Sourced from minimist's changelog. v1.2.8 - 2023-02-09 Merged [Fix] Fix long option followed by single dash [#17](https://github.com/minimistjs/minimist/issues/17) [Tests] Remove duplicate test [#12](https://github.com/minimistjs/minimist/issues/12) [Fix]...

dependencies

On the version 2.3.8 I'm experiencing an issue with the jwtExp function. unexpected non-whitespace character after JSON data at line 1 column 117 of the JSON data. Rolling back to...

So I'm working on a project using the library! And the only thing I'm missing is how to get the user's name, email etc. stored into redux for usage across...

Bumps [json5](https://github.com/json5/json5) from 2.2.0 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...

dependencies

Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. Release notes Sourced from decode-uri-component's releases. v0.2.2 Prevent overwriting previously decoded tokens 980e0bf https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2 v0.2.1 Switch to GitHub workflows 76abc93 Fix issue where decode...

dependencies

Hi! I'm a novice to React and JS, and I'm trying to get around the following error: `Uncaught (in promise) Error: Access token can not be extracted. Either whole 'session'...

https://github.com/obabichev/react-token-auth/blob/805a60a6f5dcd5428481515cfc6f6677b1cb6a69/src/utils/base64.js#L123 `c3` is not defined.

Hello. In my console I often see a following error: ``` isTokenExpired.js:35 SyntaxError: Unexpected token in JSON at position 94 at JSON.parse () at jwtExp (vendors~main.chunk.js:261086) at Object.push../node_modules/react-token-auth/lib/isTokenExpired.js.exports.isTokenExpired (vendors~main.chunk.js:261072) at...

Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous...