You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please answer the following questions for yourself before asking questions.
[ ✓] This is question only ❓
[✓ ] I am running the latest version
[✓ ] I checked the documentation and found no answer
[✓ ] I checked to make sure that this is not already asked
[✓ ] I'm asking the question in the correct repository
Describe the question
In my login component, I am storing data in userState, my login is working perfectly fine, it persists on refresh but when I pass permissions: response.data.permissions in userState, it starts signing me out on page refresh and if I remove permissions it works fine again.
Prerequisites:
Please answer the following questions for yourself before asking questions.
Describe the question
In my login component, I am storing data in userState, my login is working perfectly fine, it persists on refresh but when I pass
permissions: response.data.permissions in userState, it starts signing me out on page refresh and if I remove permissions it works fine again.
Screenshots
![Capture](https://private-user-images.githubusercontent.com/44119823/338514799-8f70b039-5404-4a52-806e-dcb3d1cb53e1.PNG?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE4ODIxNzMsIm5iZiI6MTcyMTg4MTg3MywicGF0aCI6Ii80NDExOTgyMy8zMzg1MTQ3OTktOGY3MGIwMzktNTQwNC00YTUyLTgwNmUtZGNiM2QxY2I1M2UxLlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI1VDA0MzExM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRkYmViMDkzMjFhNzhiODlkZTAyZTQyYzgyMmU0ZTcxNmU0NGZiN2ExYTU0OGFmZWI0ZGIzNDY0ZDZhMDZmNjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.2HXokafcUg7TZ0_Mq6Yxz-8NJGxMzxtS2UTK2slFbI8)
Please provide the following information:
License
MIT © React Auth Kit
The text was updated successfully, but these errors were encountered: