How to hide routes in React NavBar?

Could someone please direct me to a react tutorial that clearly shows how to hide a route in the NavBar if a user is not logged in? I want to have some links public that are visible to everyone and some links only visible if they are logged in.

The tutorial MUST show screenshots every so often so I know I am on the right track, and not find out 10 hours later that it doesn’t do what I thought it was going to do! I’ve been hunting on google for hours and this is the best one I can find, but it uses JWT, not Auth0:

Good morning,

I would recommend checking out our React SDK Quickstart which you can find here: https://auth0.com/docs/quickstart/spa/react/01-login

We can’t really make recommendations outside of this since we don’t manage that content. Sorry.

Thanks!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.