react_jwt_auth
                                
                                 react_jwt_auth copied to clipboard
                                
                                    react_jwt_auth copied to clipboard
                            
                            
                            
                        store auth info in local storage at login then update context by updating state using useEffect in AuthProvider.js
How can i keep session open after refresh site?, everytime i press f5 its ask me again the credentials
I am having an app using mongodb anonymous login, when site first load anonymous user is successfull but at that time no refresh token is there making the refresh token...
Hello, I'm having some issue with useAxiosPrivate, it seems refresh is not being called from useEffect.
while using the FormData, interceptors don't handle it, it shows the error "The submitted data was not a file. Check the encoding type on the form" how to use set...
> Yes Sir I watched it and thanks for uploading very good content. We are using httponly cookie to prevent xss. But My problem is that How can I send...
The useEffect's dependency list in Users.js should contain: axiosPrivate, location, navigate (or be removed)
Hello Sir, I encountered problem while following your tutorial. Your Code for userefreshtoken.js ``` const refresh= async()=>{ const response= await axios.get("/auth/refresh-token",{ withCredentials:true }); ``` As I am using post request...
I get the following warnings: - Firefox: Cookie “jwt” will soon be rejected because it is foreign and does not have the “Partitioned“ attribute. - Chrome: Third-party cookie will be...