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

⚛️ Authenticate your react applications easily with react-query.

Results 17 react-query-auth issues
Sort by recently updated
recently updated
newest added

My general `queryClientConfig` for react-query is more or less the default one: ``` queryClientConfig: { defaultOptions: { queries: { retry: 2, refetchOnMount: "always", refetchOnWindowFocus: "always", refetchOnReconnect: "always", cacheTime: 1000*30, refetchInterval:...

enhancement

Hi @alan2207, It would be great if react-query-auth provided some props for setting react-query options for this particular query `loadUser()`. The problem is, on every tab/window refocus abovementioned function is...

enhancement

As soon as you try to use the AuthProvider, the followin error appears: ExceptionsManager.js:149 Error: Text strings must be rendered within a component.

Is there a specific function where I am supposed to put the refreshing users auth tokens logic? Following the doc doesnt seem to mention it.

Hi team, Can anyone help me with useAuth user info? After successfully logging in if the user refreshes browser user info from useAUth got null, it tried to fetch new...

When logging in with wrong login-details I would like to show the 401 error message from the server. How would this be possible? I am also a bit confused as...

Hi ! Thanks for your package I am wondering, how to pass the server response message all the way to the View using useAuth ? I played with the axios...

This PR updates many of the packages as well as migrates from react-query to the new tanstack/react-query. It also migrates from tsdx to [dts](https://github.com/weiran-zsd/dts-cli), because tsdx is no longer maintained...

Hi, Can you please provide an example of how to force a user refetch? The docs mention a refetchUser function but that is not used anywhere in the demo. I've...