Brand Auth0 login/signup and wire the animated auth screens - #44
Merged
Conversation
…th0 integration - Changed login and signup routes from `/login` and `/signup` to `/auth/login` and `/auth/signup`. - Updated middleware to redirect to Auth0 for authentication. - Refactored components to utilize new authentication links and improved user experience. - Added branding and localization for Auth0 login and signup pages. - Introduced new AuthPanel and AuthMediaRing components for better UI handling. This commit enhances the authentication flow by integrating Auth0, ensuring a seamless user experience during sign-in and sign-up processes.
…perience - Updated authentication routes to use `/login` and `/signup` instead of `/auth/login` and `/auth/signup`. - Enhanced middleware to redirect signed-out users to `/login`. - Refactored components to utilize new authentication links and improve UI consistency. - Introduced `safeReturnTo` function to ensure safe redirection paths. - Added tests for authentication link functions and safe return logic. This commit streamlines the authentication process and enhances the overall user experience by ensuring consistent routing and improved handling of authentication flows.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Changed logo and favicon URLs in branding.json and theme.json to point to the new Livepeer console URL. - Ensured consistency across branding assets for a unified user experience. This commit aligns the branding resources with the current Livepeer console, enhancing the visual identity of the application.
- Introduced a new GitHubIcon component for rendering the GitHub logo. - Updated AuthPanel to include a sign-in/sign-up option for GitHub, linking to the appropriate authentication route. - Enhanced tests to cover the new GitHub authentication link. This commit expands the authentication options available to users, improving the overall user experience by integrating GitHub as a login provider.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Inspired by #43 (frontend-only animated auth screens). This PR takes that design and wires it to the real Auth0 flow.
AuthPanel+AuthMediaRingand keep/loginand/signupas branded console pages that hand off to Auth0returnToinlib/console/auth-login.ts; signed-out users hit/logininstead of flashing console chromeTest plan
/or/installlands on/loginwithout a sidebar flash/loginand/signup, then hand off to Auth0returnTolands on a same-origin path (rejects//evil/ absolute URLs)/loginor/signupredirects to/home(or MCP callback whenmcp_oauth=1)CONSOLE_DEV_MOCK=1still reaches the mocked dashboard