React dev tools enable to modify state and omit Auth0

Hi, I used React Auth0 SDK according to https://auth0.com/blog/complete-guide-to-react-user-authentication/#Get-the-Starter-Application with my custom app. Everything seems to be fine.

However when I open react dev tools in chrome I can modify Auth0Provider state so I can change reducer and isAuthenticated to true. This enable me to get into app without login and protected routes are also not protected as long as you reload app. I set also devtools to false in webpack.

Can I somehow protect this state in react devtools??

Thanks

2 posts were merged into an existing topic: The Complete Guide to React Authentication with Auth0