# \#routes

**URL:** https://community.auth0.com/tag/routes/941.md

[Latest](https://community.auth0.com/latest.md) · [Categories](https://community.auth0.com/categories.md) · [Tags](https://community.auth0.com/tags.md)

---

## [ReactJS error with Auth0 protectedroute](https://community.auth0.com/t/reactjs-error-with-auth0-protectedroute/51406)

<div class="topic-metadata">

**Author:** [@rutiglianomassimilia](https://community.auth0.com/u/rutiglianomassimilia)\
**Replies:** 3\
**Last updated:** [October 14, 2020, 7:38pm UTC](https://community.auth0.com/t/reactjs-error-with-auth0-protectedroute/51406 "2020-10-14T19:38:56Z")

</div>

I followed Auth0’s guide to protect routes but once logged while being redirected to my dashboard I get this error: This is my codesandbox link with involved files: App This is App.js: import React from "react"; i…

---

## [React - Making a Private route makes form input lose focus on each keystroke](https://community.auth0.com/t/react-making-a-private-route-makes-form-input-lose-focus-on-each-keystroke/46178)

<div class="topic-metadata">

**Author:** [@kiro](https://community.auth0.com/u/kiro)\
**Replies:** 3\
**Last updated:** [July 14, 2020, 7:11pm UTC](https://community.auth0.com/t/react-making-a-private-route-makes-form-input-lose-focus-on-each-keystroke/46178 "2020-07-14T19:11:19Z")

</div>

Hey ya’ll. Junior Dev here, so apologies ahead of time :slight\_smile: I’m using react router with a custom wizard form. Each form page has it’s own context for the state object gathered from the inputs. Everything was …

---

## [Remove root protection](https://community.auth0.com/t/remove-root-protection/8137)

<div class="topic-metadata">

**Author:** [@schwesh724](https://community.auth0.com/u/schwesh724)\
**Replies:** 0\
**Last updated:** [September 8, 2017, 10:35pm UTC](https://community.auth0.com/t/remove-root-protection/8137 "2017-09-08T22:35:10Z")

</div>

I currently have the auth\_openidc configured to protect everything at the root /\*. However, there are routes that I do not want to protect. When I add the routes I want to protect & remove the /\* protection, auth0 doesn’…
