react-oidc
react-oidc copied to clipboard
How to implement a 404 not found that isn't protected
I'm currently implementing a solution that has protected and unprotected routes using the example from Issue #21. That part is working great. I'm trying to implement a catch all 404 page. I'm having difficulty figuring out where to place this. If I place it after the protected routes component, the 404 page gets redirected to my SSO provider.
Is there a way to implement 404 AND have it unprotected?