Skip to content

Conversation

@brionmario
Copy link
Member

@brionmario brionmario commented Jun 25, 2025

Purpose

This pull request introduces several updates across multiple files to improve code consistency, simplify logic, and enhance maintainability. Key changes include the adoption of a new error code convention, the replacement of IdTokenPayload with IdToken for better type clarity, and the removal of redundant code in authentication-related methods.

Error Code Convention Updates:

  • ERROR_CODES.md: Added a comprehensive document defining the error code convention used in the Asgardeo JavaScript SDK, including format, numbering strategy, and migration notes. This ensures consistency and ease of debugging.

Type Updates:

Code Simplification:

Copyright Update:

Formatting Improvements:

  • .vscode/settings.json: Adjusted JSON formatting for better readability and added a new setting nxConsole.generateAiAgentRules.

Related Issues

Related PRs

  • N/A

Checklist

  • e2e cypress tests locally verified.
  • Manual test round performed and verified.
  • UX/UI review done on the final implementation.
  • Documentation provided. (Add links if there are any)
  • Unit tests provided. (Add links if there are any)
  • Integration tests provided. (Add links if there are any)

Security checks

…p flow, enhance AsgardeoProvider with response handling, and update routing in the sample app
…w, enhance AsgardeoProvider with sign-in logic, and update Dashboard to display user information
…ing in BaseUserDropdown and BaseUserProfile components
…w and update AsgardeoProvider for sign-in handling
…PasswordInput, and FormContainer; enhance translations and add new UI elements
…one) and update SignUpOptionFactory for integration
…generic ButtonComponent for improved variant management
… SignUpButton components for improved user experience
…ination support and enhance organization list components
…zation rendering and remove unused OrganizationProfile component
…seOrganizationList and OrganizationProfile, and add manage profile functionality in BaseOrganizationSwitcher
…ationContext, implement pagination, and remove deprecated useOrganizations hook
…BaseOrganizationList with styled components and improved rendering logic
…mproved profile rendering, and customizable fields in BaseOrganizationProfile
… pairs and integrate it into BaseOrganizationProfile
- Created postcss.config.js and postcss.config.mjs for PostCSS integration with Tailwind CSS.
- Added tailwind.config.js for Tailwind CSS configuration with custom themes and animations.
- Updated tsconfig.json to target ES5 and include baseUrl for module resolution.
- Removed unused SVG files from the public directory to clean up assets.
…unctionality

- Updated ProfilePage component for better state management and code readability.
- Introduced new header components: AuthenticatedActions, AuthenticatedMobileMenu, AuthenticatedNavigation, and PublicNavigation for improved structure.
- Created OrganizationSwitcher and UserDropdown components for better organization management and user actions.
- Removed legacy header component and consolidated functionality into new components.
- Added ThemeProvider component for theme management.
- Removed the old SignIn and SignUp pages, replacing them with new implementations using Asgardeo for authentication.
- Updated the Header component to conditionally render navigation based on authentication state using SignedIn and SignedOut components from Asgardeo.
- Refactored the AuthProvider to mock user and organization data, and adjusted the useAuth hook to return mock data.
- Updated routing paths for sign-in and sign-up to remove the "/auth" prefix.
- Removed unused authentication utility functions and middleware, integrating Asgardeo's middleware for session management.
- Cleaned up various components and styles for consistency and improved readability.
…n name and add user information display example
@brionmario brionmario changed the title feat(react): feat(react): introduce SignUp & B2B components Jun 25, 2025
@brionmario brionmario merged commit 64e9c33 into asgardeo:main Jun 25, 2025
2 of 4 checks passed
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.

feat: SignUp component for @asgardeo/react

2 participants