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
@devl-up From what I understood whenever that component is rendered it will require authentication, so if you have the component only in a route/page of the router only that route will require authentication. To provide authentication to all routes in the router just render a parent component withAuthentication.
I have a question about the withAuthenticationRequired HOC.
Let's say my app has to be fully private, can I wrap my top level route component with it and will it protect all sub-routes ?
The text was updated successfully, but these errors were encountered: