Support for unprotected routes #1058
Labels
Authenticator
An issue or a feature-request for an Authenticator UI Component
feature-request
Request a new feature
React
An issue or a feature-request for React platform
Milestone
On which framework/platform would you like to see this feature implemented?
React
Which UI component is this feature-request for?
Authenticator
Please describe your feature-request in detail.
It would be nice to be able to simply pass in a list of routes that should be unprotected. These routes would not be redirected to the login flow and could proceed as normal. Currently, you have to come up with work around for routing if you want a home page to be unprotected but all other to be protected.
This is harder with the new version of the UI as you don't have the same access to authState as you did in the previous version where you could follow the docs https://docs.amplify.aws/ui/auth/authenticator/q/framework/react/#basic-usage to get the result you were looking for.
Please describe a solution you'd like.
Pass in a list of routes to Authenticator that would not be redirected
We love contributors! Is this something you'd be interested in working on?
The text was updated successfully, but these errors were encountered: