https://supertokens.com/ logo
#support-questions
Title
# support-questions
n

nim4ze

07/16/2021, 3:26 PM
soo like this?
Copy code
typescript
     <Router>
        <Switch>
          {getSuperTokensRoutesForReactRouterDom(require("react-router-dom"))}
          <Route path="/auth/reset-password">
            <PasswordResetPage />
          </Route>
          <Route path="/auth">
            <EmailPasswordAuth requireAuth={false}>
              <SignInForm />
            </EmailPasswordAuth>
          </Route>
          <Route path="/">
            <EmailPasswordAuth>
              <App />
            </EmailPasswordAuth>
          </Route>
        </Switch>
      </Router>
2 Views