Skip to content

Commit

Permalink
fix: remove login component from ui
Browse files Browse the repository at this point in the history
to use the ui as a stop gap solution users are expected to hit the `/api/v0/auth` endpoint
and after that all should be working as expected, user ID will be the email and OpenFGA tuples
need to be populated accordingly
  • Loading branch information
shipperizer committed Jul 19, 2024
1 parent 0ddb0f6 commit 51deb06
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions ui/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,6 @@ const App: FC = () => {
>
<Suspense fallback={<Loader />}>
<Routes>
<Route
path="/"
element={
<Login isAuthenticated={!!authUser} setAuthUser={setAuthUser} />
}
>
<Route
path="/"
element={<Navigate to="/provider" replace={true} />}
Expand All @@ -65,7 +59,6 @@ const App: FC = () => {
}
/>
<Route path="*" element={<NoMatch />} />
</Route>
</Routes>
</Suspense>
</ApplicationLayout>
Expand Down

0 comments on commit 51deb06

Please sign in to comment.