Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add auth support #209

Merged
merged 2 commits into from
Oct 17, 2024
Merged

Conversation

tylerslaton
Copy link
Contributor

This PR adds in support for authentication to the admin side of Otto. This includes a sign-in page, user model, me routes, and a AuthContext for rendering the authenticated user state.

This also includes a change to the API to change how the default routing was being handled. This was written by @thedadams.

Screen.Recording.2024-10-16.at.12.10.09.PM.mov

ui/admin/app/components/auth/index.tsx Outdated Show resolved Hide resolved
ui/admin/app/components/me/Me.tsx Outdated Show resolved Hide resolved
ui/admin/app/components/header/HeaderNav.tsx Outdated Show resolved Hide resolved
ui/admin/app/components/me/Me.tsx Outdated Show resolved Hide resolved
ui/admin/app/lib/model/users.ts Outdated Show resolved Hide resolved
This PR adds in support for authentication to the
admin side of Otto. This includes a sign-in page,
user model, me routes, and a AuthContext for rendering
the authenticated user state.

This also includes a change to the API to change
how the default routing was being handled. This
was written by [email protected].

Signed-off-by: tylerslaton <[email protected]>
Co-authored-by: Donnie Adams <[email protected]>
@tylerslaton
Copy link
Contributor Author

@ryanhopperlowe Had some change requests (and for some reason now linter issues?) that I needed to address. Re-requesting review.

Signed-off-by: tylerslaton <[email protected]>
@tylerslaton tylerslaton merged commit ff71e9c into obot-platform:main Oct 17, 2024
1 check passed
@tylerslaton tylerslaton deleted the admin-auth branch October 17, 2024 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants