react-oidc icon indicating copy to clipboard operation
react-oidc copied to clipboard

How to implement a 404 not found that isn't protected

Open matthoskins1980 opened this issue 4 years ago • 0 comments

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?

matthoskins1980 avatar Jan 20 '21 15:01 matthoskins1980