Skip to content

riligar-solutions/auth-elysia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

@riligar/auth-elysia

npm version npm downloads license

Auth SDK para ElysiaJS com JWT e JWKS.

📦 Instalação

bun add @riligar/auth-elysia
# ou
npm install @riligar/auth-elysia

📚 Documentação

Consulte a documentação completa no repositório principal.


Changelog

1.7.1 (2026-01-15)

📚 Documentação

  • packages: update consolidated changelog [skip ci] (2dd455a)

♻️ Refatoração

  • change Elysia derive and onBeforeHandle plugin scope from global to scoped. (4837381)

1.7.0 (2026-01-15)

✨ Novas Funcionalidades

  • Return a standardized JSON error response with 401 status for unauthorized requests. (890765b)

📚 Documentação

  • packages: update consolidated changelog [skip ci] (0377cb7)

1.6.4 (2026-01-15)

📚 Documentação

  • packages: update consolidated changelog [skip ci] (e2e7f1c)

♻️ Refatoração

  • Standardize unauthorized error responses to structured JSON with Content-Type header and expand error detection for undefined user. (3416508)

1.6.3 (2026-01-15)

📚 Documentação

  • packages: update consolidated changelog [skip ci] (5612452)

♻️ Refatoração

  • simplify JWT verification, streamline auth client methods, and remove verbose comments. (4d4377f)

1.6.2 (2026-01-15)

📚 Documentação

  • packages: update consolidated changelog [skip ci] (b4d6d32)

♻️ Refatoração

  • Consolidate authentication exclusion logic to the onBeforeHandle hook by removing it from derive. (09972d4)

1.6.1 (2026-01-15)

📚 Documentação

  • packages: update consolidated changelog [skip ci] (f52be51)

♻️ Refatoração

  • move authentication logic from onBeforeHandle to derive and simplify unauthorized handling. (8ad6942)

1.6.0 (2026-01-15)

✨ Novas Funcionalidades

  • Add scoped: false to Elysia plugin configuration and change .resolve to .derive. (b8d94a2)

📚 Documentação

  • packages: update consolidated changelog [skip ci] (d1b6bc8)

1.5.0 (2026-01-15)

✨ Novas Funcionalidades

  • Map JWT sub claim to id in the returned user object for client compatibility. (735fa11)

📚 Documentação

  • packages: update consolidated changelog [skip ci] (4310450)
  • packages: update consolidated changelog [skip ci] (03f81a7)

♻️ Refatoração

  • Obtain user object directly from API response for sign-up and sign-in operations. (687470b)

🔨 Manutenção

  • auth-react: release 1.25.0 [skip ci] (d1c6e22)

1.4.2 (2026-01-15)

📚 Documentação

  • packages: update consolidated changelog [skip ci] (d042ea3)

♻️ Refatoração

  • reorder auth middleware execution and replace derive with resolve for context properties. (1a61ee6)

1.4.1 (2026-01-15)

📚 Documentação

  • Add environment variables, user object, and auth metadata documentation, and update cookie maxAge in README. (a58dc92)
  • packages: update consolidated changelog [skip ci] (da77e6f)

1.4.0 (2026-01-15)

✨ Novas Funcionalidades

  • Add package-lock.json for auth-react (db9ab50)
  • Adiciona loading states granulares para geração de API keys (e436b2b)
  • Adiciona logs de debug para autenticação e erros de validação (77223b1)
  • Align cookie maxAge with JWT expiration to 7 days. (1e64b0d)
  • applications: count users directly on application (16e4443)
  • auth-react: usa decodeJWT do SDK e trata falhas no refresh automático (2d94341)
  • copy drizzle config file (966a106)
  • increase default session and JWT TTL (abbddf6)
  • Migrate authentication to use signed JWTs with RS256, implement key management, and expose a JWKS endpoint. (30f064a)
  • Normalize email on signup and update user (ccc8361)
  • update install command to bun add (bd69370)

🐛 Correções

  • atualiza @riligar/auth-react para 1.23.0 (f78ec88)
  • corrige contagem de membros da aplicação (df4411b)
  • Corrige tratamento de erros de autenticação e autorização na API (be6cee5)
  • remove duplicate database import in auth service (ac3e202)
  • update dependencies and configure API URL (824bf2f)

📚 Documentação

  • packages: update consolidated changelog [skip ci] (d139e76)
  • packages: update consolidated changelog [skip ci] (d3a9044)
  • packages: update consolidated changelog [skip ci] (1e7503d)
  • packages: update consolidated changelog [skip ci] (ce63ad8)
  • packages: update consolidated changelog [skip ci] (a84a5fb)
  • Update example installation instruction from bun to npm in publish workflow. (41ac062)

🔨 Manutenção

  • auth-react: release 1.21.0 [skip ci] (124cfd4)
  • auth-react: release 1.22.0 [skip ci] (1b08b62)
  • auth-react: release 1.23.0 [skip ci] (ae409eb)
  • auth-react: release 1.24.0 [skip ci] (5181b42)
  • Ignore package-lock.json in auth-react package (81a45a2)

1.3.0 (2026-01-14)

✨ Novas Funcionalidades

  • release: update release workflow and generate consolidated README (3f82873)

📚 Documentação

  • add package description to index.js (332e59b)
  • auth-elysia: add standard JSDoc header (4d2d1c3)
  • auth-react: add @since tag to JSDoc (5726222)
  • auth-react: add copyright notice (af6f056)
  • auth-react: add exports JSDoc tag (9b8ba26)
  • auth-react: add module and description JSDoc tags (8f64edb)
  • auth-react: add package JSDoc tag (62b6727)
  • auth-react: add version reference to JSDoc (aaaab8e)
  • auth-react: expand JSDoc with license and author info (0236bff)
  • auth-react: simplify JSDoc header (e587ce2)
  • auth-react: update copyright year (e63c862)
  • packages: update consolidated changelog [skip ci] (1be31a0)
  • packages: update consolidated changelog [skip ci] (ec62543)
  • packages: update consolidated changelog [skip ci] (4e2bf36)
  • packages: update consolidated changelog [skip ci] (282a409)
  • packages: update consolidated changelog [skip ci] (4fb4ca5)
  • packages: update consolidated changelog [skip ci] (b1845ce)
  • packages: update consolidated changelog [skip ci] (ffaaa1d)
  • packages: update consolidated changelog [skip ci] (189cade)
  • packages: update consolidated changelog [skip ci] (eb9aa4a)

🔧 CI/CD

  • simplify to git clone/push method (512fa65)
  • use --rawfile to read base64 from file avoiding arg limits (fe2acff)
  • use curl with JSON file to avoid argument length limits (f9e9926)
  • use GitHub API instead of git clone for cross-repo sync (69a3bb7)
  • use jq and gh api --input for proper JSON escaping (4d7c1d2)

🔨 Manutenção

  • auth-react: release 1.20.10 [skip ci] (2d2a6ba)
  • auth-react: release 1.20.11 [skip ci] (f9e87d0)
  • auth-react: release 1.20.12 [skip ci] (3eaeebd)
  • auth-react: release 1.20.13 [skip ci] (fc2e84c)
  • auth-react: release 1.20.5 [skip ci] (7b26ead)
  • auth-react: release 1.20.6 [skip ci] (ca4a926)
  • auth-react: release 1.20.7 [skip ci] (226f64c)
  • auth-react: release 1.20.8 [skip ci] (8227ded)
  • auth-react: release 1.20.9 [skip ci] (3746644)
  • auth-react: release 1.3.0 [skip ci] (b8a3a6f)

1.2.0 (2026-01-14)

✨ Novas Funcionalidades

  • Add 'card | modal' variants to MagicLink and ForgotPassword components in React SDK documentation. (5cb8665)
  • Add applicationId to organizations table and introduce applicationUsers table. (d6a105d)
  • Add 3-second timer to organization delete button. (e411f2e)
  • Add an endpoint for updating application configurations and adjust commented-out route stubs. (6b5b01b)
  • Add API endpoint to fetch application configurations and update server startup log message. (78fa016)
  • add API key management, configurations, and statistics routes (e97fdbc)
  • Add application image upload with compression and API key lookup endpoint (c45cda4)
  • add application retrieval and organization UPSERT routes, and refactor Drizzle ORM operators in organization queries. (c08b32f)
  • add auth hero illustration (b36d2fe)
  • add auth-elysia package and publish workflow (a8ae495)
  • add AWS SES configuration to manager service (1f25086)
  • add centralized configuration and database schema management (a1799bb)
  • add Cloudflare R2 backup integration with scheduled database backups (3775fab)
  • Add component reference page to documentation and update navigation. (37ae9ee)
  • add comprehensive auth flow logging and clear persisted state (7ccdde6)
  • add copy buttons to integration code blocks and update styling (da2ccb0)
  • Add documentation site with home, quick start, API reference, and SDK pages, along with supporting assets. (57bfabe)
  • Add domain restrictions to authentication configurations and adjust configuration data handling. (c5c5f17)
  • add dynamic tab visibility based on configuration settings (042e5e4)
  • Add Elysia plugin for R2/S3 backup and restore with a web UI. (474ee3f)
  • add email verification resend functionality and enhance VerifyEmail component (0627cdf)
  • add empty state for applications list (729cf54)
  • Add favicon and Open Graph image to docs, and ignore Vite build artifacts. (1032240)
  • Add file deletion functionality, cron enable/disable, and enhanced UI with hold-to-confirm actions. (488e54d)
  • add fuzzy search and sorting to users list (a674e6c)
  • add health check endpoint for Fly status monitoring (17b0f65)
  • Add hold-to-confirm delete button component and update demo API key. (3e61930)
  • add icons to configuration action buttons (9890197)
  • add interactive column sorting to users table (07f1404)
  • Add invite button to dashboard and refine UI elements across docs and dashboard. (839de48)
  • add live demo button to HeroSection and comment out QuickStartCard in Applications list. (9ffa645)
  • add loading state to DeleteButton component (1709706)
  • add magic link authentication (f27093d)
  • add organization creation from selector dropdown (abd524c)
  • add organization deletion and improve organization selector UI (1dea9ab)
  • add organization edit functionality to organization selector (86d3c43)
  • add organizationId parameter to application creation route and standardize error handling (edff419)
  • add path import (26b9ca2)
  • add persistent volume mount for data storage (289b2e7)
  • add publish workflow for auth-react package (a116bc5)
  • add rate limiting configuration for authentication routes (c8c931c)
  • add real-time statistics dashboard with date range filtering (5ff961d)
  • Add routes for retrieving and updating application keys. (0b5989c)
  • add sortable columns and fuzzy search to organizations list (61a2d90)
  • add sqlite admin dashboard and update dependencies (4966951)
  • add temporary state for organization settings toggle (e89c01a)
  • add theme toggle switch to user account settings using Mantine hooks and Tabler icons. (e2bc769)
  • Add toggle to enable/disable maximum session lifetime, updating its UI logic and database storage. (f135251)
  • add user account management modal and integrate it into the user menu. (af29b2e)
  • Add user profile update, password, and email change functionality to the dashboard. (3e8dcde)
  • allow all CORS origins by returning true in getCORSOrigins. (2589d75)
  • Allow updating existing application members' roles and names, and refactor frontend user service and store to align with new API endpoints and mock roles. (fa170c7)
  • allow users to update their name and avatar in the account settings UI. (df16ce8)
  • always show user roles and remove configuration dependency. (c315147)
  • Atualiza @riligar/elysia-sqlite para v1.6.0 (1fdc434)
  • Atualiza dependências do projeto (6900b8b)
  • Atualiza elysia-sqlite para v1.8.0 (f56c759)
  • atualiza link e texto do botão da HeroSection (ec42a97)
  • auto-select first organization when none is currently selected (6447b5d)
  • Categorize API reference endpoints, update examples, and localize navigation label. (cda321b)
  • Conditionally render organization management UI based on enablement status and add functionality to enable organizations. (6431d35)
  • configure database path via env variable (44cda9f)
  • Configure Fly.io to keep at least one machine running and disable auto-stopping. (741bbac)
  • configure HTTP-only access for Litestream Manager Dashboard (06b5e71)
  • connect organizations list to real data and add edit/delete actions (d82675d)
  • desabilita login social nas páginas de sign-in e sign-up (e1a5fbe)
  • disable HTTPS enforcement and add health checks (e9e6973)
  • disable trusted origins check in production (ab00b4b)
  • Display application environment in the dashboard and fetch its configuration from the backend. (d7c27f7)
  • Display application environment with color-coded badges in dashboard cards and view. (28cc391)
  • display backup cron job status on the dashboard and include it in config update responses. (ac6e0e2)
  • Display Mantine notifications for 401/403 API errors and unify their handling. (2ba43d3)
  • Display user and organization counts on application cards, remove roles count, and update organization icon. (4413913)
  • Display user roles and organizations, and use isActive for user status in the list. (7745145)
  • enable and refine the loading overlay component in the user list. (db3b0f7)
  • enable cron backups and remove backup prefix (3ad2385)
  • Enable users to list and revoke active sessions from the account dashboard. (996e675)
  • enhance avatar upload UI by replacing file input with clickable avatar and camera overlay. (65f8c20)
  • Enhance documentation site SEO with new meta tags and refine header alignment. (b063110)
  • Enhance React SDK documentation by adding component variant information, a new variant props table, and usage examples. (0deb170)
  • enhance schedule status UI with updated layout, text styling, and indicator sizes for active and stopped states. (b145949)
  • Enhance session management to support opaque tokens by fetching user data from the server and centralizing token handling. (15856c9)
  • enhance UI tab transitions, update R2 backup source directory from data to database, and refresh R2 credentials. (e6ca6f9)
  • Extract application configuration and statistics routes into dedicated files. (02ef51f)
  • group R2 backup files by date in collapsible sections. (64d9b8a)
  • highlight the currently selected organization in the dropdown menu (5381aa5)
  • ignore e remove arquivo de banco de dados local (bb74264)
  • Implement hasChanges flag to enable/disable Save and Reset buttons based on configuration modifications. (7def963)
  • Implement API key management functionality including fetching, creating, and deleting keys across dashboard and manager. (05144b0)
  • implement application details endpoint with stats and configuration retrieval (cf842a7)
  • implement application organization retrieval and user assignment in the dashboard UI (d879611)
  • implement application retrieval with organization membership validation (8dce45a)
  • implement application UPSERT endpoint with organization validation and add pagination support (bcde53c)
  • Implement application user management and reorder the application user tab in the UI. (e01bfa3)
  • implement authentication middleware and refactor auth handling (5c4c344)
  • Implement avatar removal functionality and standardize avatar display across user components. (09c17af)
  • Implement client-side search and filtering for applications and refactor user list data management. (4441d22)
  • implement configuration persistence for application and authentication settings (92b8c1d)
  • Implement controlled state for the user menu and close it when opening account management. (bbca6b4)
  • Implement dashboard access guard for manager routes and add an access denied page for B2C users. (b16838d)
  • implement endpoint to retrieve application API keys (91fc6e1)
  • implement endpoint to update application configurations with validation, permissions, and upsert logic. (8f0939a)
  • implement file extension filtering and timestamped filenames for R2 backups, and update configuration UI. (70fbeb7)
  • implement magic link authentication and email notifications (ee3b527)
  • Implement organization management within applications, including listing, filtering, and sorting. (a61543c)
  • implement pagination support for applications listing endpoint (bfea7a8)
  • Implement R2 backup functionality, update package dependencies, and configure Better Auth secret. (6a899e1)
  • Implement scheduled R2 backups with cron and persistent configuration, including timestamped file handling. (06af1d7)
  • Implement social login in sign up form, add a default logo, and adjust success message typography in auth components. (7dce7c1)
  • improve API key management with full key visibility (948943e)
  • improve application loading with enhanced logging and timeout (4dc64e7)
  • improve configuration reset to preserve saved state (6b30284)
  • improve header layout spacing and menu positioning (e6abea3)
  • improve manager startup with database initialization and logging (645e18d)
  • improve modal navigation and remove transition delays (62c96a4)
  • improve session lifetime configuration with unit conversion (2a9ef2d)
  • improve slug generation to preserve uppercase letters (ca49c3d)
  • integrate Litestream Manager for database backup monitoring (36e4a10)
  • Integrate Lucide icons and x-cloak CSS for an enhanced user interface. (6b3d473)
  • integrate PostHog analytics and add .env to gitignore. (643e3ac)
  • Introduce DashboardGuard for pre-rendering permission checks and refactor API 403 handling to defer redirection. (ad77a13)
  • Introduce Enable component to encapsulate organization enabling UI and logic, integrating it into Overview. (a39d063)
  • Introduce and use an icon-based timed delete button for user list items. (8e4b155)
  • Introduce API endpoints for application-scoped user and organization management. (094eff0)
  • Introduce dedicated stores and services for configurations, API keys, application users, and organizations. (56b5645)
  • Introduce soft delete for organizations and applications with corresponding API and UI updates. (a5c4c4d)
  • Link application users to applications via API key validation during registration. (de2597e)
  • load configurations when application is selected (981509b)
  • Migrate application configuration management to local component state and update API key handling in the applications store. (787e6b2)
  • navigate to applications page after organization selection (85c53a2)
  • Pass application ID to user deletion functions and API endpoint. (7aa6c64)
  • pass organization enabled state to application detail view (577670b)
  • redesign "What's Next?" section with card-based layout (84475d7)
  • redesign Overview component with modern onboarding flow (e289dec)
  • refactor application card layout using Card.Section, update styling, and introduce environment badge for better information display. (489e5ad)
  • Refactor application configurations management to use the applications store directly, updating state and loading indicators. (1f845ee)
  • Refactor application management to introduce an overview component, dedicated application details fetching, and configuration updates. (679c4f4)
  • Refactor QuickStart stack selection UI and simplify Concepts page content. (d3f3899)
  • Refatora estilos e remove bordas desnecessárias (12024f2)
  • Refine account UI by adding a divider, removing the phone setting, and adjusting icon radii. (c6e45ee)
  • relocate database to separate directory (ff9710f)
  • Remove application details, statistics, and upsert endpoints, updating related dashboard components and database schema. (6085319)
  • remove auth-elysia package (d280f8e)
  • remove configurations store and service. (5a316da)
  • remove Elysia R2 backup plugin and its usage from the server. (decaa96)
  • remove pergunta sobre personalização do fluxo de autenticação do FAQ (e66dbbb)
  • remove the entire auth-react package, including its store, components, demo application, and configuration files. (4f1c81a)
  • remove unused files from Dockerfile (9b2d8d9)
  • replace card grid with timeline component for quick start guide (55db37f)
  • Standardize store data access to store.data and refactor configurations state management. (1623d92)
  • update application user and organization count queries for improved accuracy (7488f0d)
  • update Applications page button styling to light variant (688ae39)
  • update branding and typography with Montserrat font (38fca1e)
  • update dashboard title and add resource preloading (ed4843d)
  • update elysia-sqlite and rename sqlite config file (37f71d7)
  • Upgrade elysia-sqlite and move sqlite config to database folder (d5058c9)

🐛 Correções

  • add SSR safety checks and enable development toolbar (97210b4)
  • ajusta o caminho do arquivo de configuração de backup para ambiente de produção (920d0c7)
  • change manager service port handler from tcp to http (79740b6)
  • Conditionally reselect the first organization after deletion only if the deleted organization was currently selected. (9cee99d)
  • correct I18nProvider import path from @lingui/react (2080ec9)
  • correct magic link callback URL to use frontend origin (043c6d3)
  • correct port configuration and heredoc delimiter in manager service (87ced00)
  • improve logout error handling and state cleanup (8a5f2c0)
  • move notifications from top-right to bottom-right (0268bc4)
  • prevent duplicate application fetches on organization change (0b0aba2)
  • reload applications when switching organizations (0b86e04)
  • resolve configuration save and unnecessary re-render issues (50586ea)
  • update @riligar/elysia-sqlite to v1.5.1 (40d106c)
  • update @riligar/elysia-sqlite to v1.5.2 (4157347)
  • Update useEffect dependencies and refactor variable name in application store. (8c0502a)
  • update API base URL and improve response logging (722ef18)
  • update backup module and remove config path (7da6d11)
  • update navigation path in SignUp component and adjust configuration settings (bda506a)
  • update page title from "Storage" to "Auth Dashboard" (dd1cbe0)
  • Update R2 backup file date extraction regex to correctly handle path prefixes and separators. (b0b2244)
  • update sign-in and sign-up links in Header component (ee1f307)
  • update SignUp component with default values for testing (c260d0e)
  • Usa volume persistente /data para banco de dados (4d96ec8)

📚 Documentação

  • add AWS secrets configuration examples to README (593b1bc)
  • add comprehensive README detailing project architecture, modules, and quick start. (3958a96)
  • Add relationship diagram and screenshot images. (d20d50a)
  • Add screenshot and relationship diagram images. (2990d73)
  • Atualiza descrições e perguntas frequentes nas seções do website (37b476e)
  • create new documentation site and add quick start card to application list (dbdb43c)
  • Refactor Elysia SDK documentation by simplifying code examples, adding descriptive tables for context and functions, and updating the environment variable setup. (5d566d8)
  • remove component reference page and refactor navigation into categorized sections. (c316729)
  • Replace apiUrl and appId with apiKey in React SDK examples (efadf87)
  • update alert colors and remove quick install section from home page (0b66c82)
  • update code comments and remove unused import (f2ca984)

💄 Estilo

  • add newline at end of Dockerfile (53c6c23)
  • Adjust loading overlay appearance in user list by removing blur and adding slight background opacity. (67d9ad3)
  • refine Account UI by adjusting modal size and avatar radius, and removing photo update text and email verification badge. (b7aa692)

♻️ Refatoração

  • Add /auth prefix to magic link verification URL path (1b8d4e9)
  • add comprehensive SEO metadata and localization to website (8800955)
  • add database directory to Docker image build (766d123)
  • add drizzle config to Docker image and document Fly migration commands (e2e7f63)
  • add msg import to lingui macro imports (64fe23e)
  • add smooth scroll behavior for navigation and anchor links (d7919f5), closes #faq
  • adjust Quick Start Guide heading level from h2 to h3 (c8cb597)
  • backup: Migrate R2 operations from Bun's native S3 client to AWS SDK and redesign the manager's user interface. (566dba4)
  • centralize API request handling and response normalization into new utilities, then apply them to the applications service. (9730ab5)
  • centralize auth token management in API interceptor and remove redundant token handling from auth service (1cdd485)
  • centralize authentication API calls in services (d17a1ab)
  • centralize authentication flow through Bootstrap system (99d7780)
  • centralize configuration state management in Zustand store (fd819c0)
  • centralize data loading with bootstrap store (70c1e3a)
  • Centralize organization upsert and selection logic within the store, remove local loading states, and update organization list handling. (2a8bc89)
  • change buildPaginationResponse import to use namespace import (59c35fa)
  • change Litestream dashboard external port from 8080 to 9000 (e6cfb24)
  • clean up authentication flow and remove debug logging (6334e4f)
  • clean up import statements and code formatting (036c819)
  • comment out database file ignores and drizzle config copy in Docker (8abfdfb)
  • comment out Stagewise toolbar initialization (317506a)
  • comment out unique features section and format Timeline component (874ff11)
  • Configure module exports, improve API URL handling and environment variable access, enhance token decoding for SSR, and update VerifyEmailCard UI." (00626ac)
  • connect Overview statistics to real-time data from API (96b77a2)
  • consolidate Applications page components into single file (2072a14)
  • consolidate authentication flow and inline LoadingScreen component (65a1e71)
  • consolidate button components into Buttons module (c4b7fdf)
  • consolidate configurations store and update Organization component (0c0b325)
  • consolidate CORS and auth origin configuration (c02c150)
  • consolidate font configuration and clean up imports (19372ca)
  • consolidate Litestream Manager into main Auth Manager app (485d426)
  • consolidate litestream-manager command into single line (e1185f7)
  • consolidate migration logic into database module (a6eb5a9)
  • consolidate route handlers into separate modules (6866dc8)
  • Consolidate user management into the applications module and remove dedicated user service and store. (3f08db5)
  • consolidate user modal into overview component (82399ad)
  • convert OrganizationSelect to controlled component (5461fc8)
  • enhance authentication components with improved loading state management (c9cd061)
  • enhance authentication flow by centralizing API calls (c154b07)
  • enhance user registration process with organization creation (919df21)
  • extract ApplicationCard component and enrich application list data (e7dbff9)
  • extract Applications page logic into reusable components (2b0ea70)
  • extract auth initialization into factory function (e061a0c)
  • Extract list filtering, sorting, and formatting utilities into dedicated files and simplify user list component. (719cca0)
  • extract search and empty state into reusable components (6cde3c5)
  • extract utility functions to dedicated module (c296c38)
  • fix theme toggle display logic using computed color scheme (a928564)
  • format code and update loading messages to Portuguese (dbe955a)
  • implement @riligar/auth-react for dashboard authentication and enhance manager error responses. (4ea641f)
  • improve account settings UI with new reusable components and updated styling. (c7bcbed)
  • improve API key display responsiveness and layout (89a21d0)
  • improve avatar upload UI by consolidating input and preview, and adding fallback initial display. (e21d43b)
  • improve configuration state management and prevent unnecessary tab resets. (a370a89)
  • improve Dockerfile organization and clarity (0cac093)
  • improve email verification response handling and update messages to Portuguese (4e547cb)
  • improve organization persistence and menu UI (791aa38)
  • Improve organization store with robust state management, optimistic updates, and adapt related UI components and database. (67a75ce)
  • improve Overview component layout and formatting (e89280f)
  • improve session initialization with timeout protection (d8fdaf1)
  • improve singleton pattern for database and auth instances, fix theme toggle icons, and update gitignore (58eb7a2)
  • improve website copy to emphasize multi-tenant capabilities and modernize messaging (02379f7)
  • inline Layout component into Applications page (1ba7b9e)
  • migrate auth and organizations stores to use shared state updater utility (fe2e44b)
  • migrate authentication config to unified store structure (4cea368)
  • migrate organizations store to use Zustand persist middleware and remove manual localStorage handling (dce8629)
  • Optimize application configuration UI by refining current application state updates and adjusting default section display. (b00e88c)
  • rebrand from "RiLiGar Auth" to "Auth" in dashboard and documentation (e6c376d)
  • redesign features section with alternating layout and enhanced descriptions (2b10f98)
  • redesign pricing, FAQ, and how-it-works sections with improved layout and visual hierarchy (d521b8f), closes #f8f9fa
  • Reimplement organization configuration management using application-level configurations and local state tracking. (d5bb689)
  • relocate API Keys component to the right column and adjust grid spans in the application overview. (fd72893)
  • Remove isLoading prop and related UI logic from application view and list components. (1de993d)
  • Remove AccessDenied page and DashboardGuard, handling 403 errors by redirecting to sign-in via API interceptor. (bdb6dc0)
  • remove deprecated files and configurations (b52cf8a)
  • remove email.js and update import in auth.js (97eaa91)
  • Remove explicit loading state UI from application view and list components. (eab9b76)
  • Remove internationalization (i18n) support and update affected components and pages.refactor: Remove internationalization (i18n) support and update components to reflect its absence. (5ff4832)
  • remove lingui compilation from build script (f7cd199)
  • remove Lingui internationalization library (1153bdc)
  • remove Litestream configuration file (d40611c)
  • remove Litestream integration from auth manager (9127f05)
  • remove LoadingOverlay from user list component (7178c81)
  • remove outdated analysis documentation (fa67df8)
  • remove redundant configurations store usage and simplify loading state in Applications page (f12d241)
  • Remove slug field and auto-generation from application forms and adjust error state access. (0af8546)
  • remove unused bootstrap store and empty gitkeep file (bbac6e4)
  • remove unused compileNamespace config from lingui (f99ce92)
  • remove unused configuration and documentation files (6d7c024)
  • remove unused configuration sections and simplify UI (67ec2b5)
  • remove unused Litestream configuration from Dockerfile (c731457)
  • remove unused routes and styles, update navigation and authentication links (953afa5), closes #pricing
  • rename isLoadingOrganizations to loadingOrganization.load (046fbdb)
  • rename allowUserCreation to enabled in organization config (fc1bc4c)
  • rename ApplicationModal to Put and standardize exports (cf79216)
  • rename auth parameter to betterAuth across route handlers (6981dae)
  • rename auth service and standardize loading state naming (23821a1)
  • rename callback props to use handle prefix for consistency (091cdd3)
  • rename configuration update method to postConfigurations and simplify configuration store state management. (cffe614)
  • Rename loading state variables to loadingApplications and loadingOrganizations for improved clarity. (06ac41b)
  • rename service utility module from service.js to services.js and update all references. (753efbf)
  • reorganize Applications page with phased bootstrap and improved state management (46c6b98)
  • reorganize dashboard utilities into utils directory (be98c20)
  • reorganize database imports and schema configuration (641b597)
  • replace applications state key with data in store updates. (dca018f)
  • Replace 403 error notification and redirect with a session revocation event dispatch. (694623c)
  • replace Container with Flex for auth page centering (fb8d397)
  • replace custom sidebar navigation with Mantine Tabs component and update modal title styling. (dd7d9a5)
  • replace generic configuration methods with specialized endpoints (f66681a)
  • replace Group with Menu.Item in organization selector (c7ff495)
  • replace icon-based logo with image logo in website header (4062f92)
  • Replace Paper with Card components and simplify Code block styling in application views. (00dd96f)
  • Replace tabbed account view with a section-based layout using a new SectionHeader component and Divider. (b013435)
  • replace User component with new Users/Menu and add Users/Account. (f28132d)
  • restructure authentication routes and components (76fecef)
  • restructure database migrations system (beb8505)
  • restructure Next Steps section layout (07ed9d5)
  • simplify Applications component imports and formatting (9d9bc13)
  • simplify ApplicationsList component export (d13a335)
  • simplify auth configuration to basic setup (01ea970)
  • simplify authentication flow and remove bootstrap complexity (778b503)
  • simplify authentication setup and remove unused code (b8b53ca)
  • simplify bootstrap loading logic in routes (010211b)
  • simplify Dockerfile by removing Litestream integration (41cc4b7)
  • simplify Dockerfile entrypoint script creation (4f23f05)
  • simplify language selector component structure (99bafc5)
  • simplify next steps section layout and styling (25e58c6)
  • simplify organization bootstrap logic and update logo import path (3e70ac8)
  • simplify organization management and remove kind-based filtering (b6d6ab4)
  • simplify organization modal state management and improve loading states (66c1e17)
  • simplify organization select component (c501c81)
  • simplify Stagewise toolbar initialization (a1e310b)
  • Standardize API request handling in authentication and organization services using a new utils.service.request utility, and add a default empty array to the OrganizationSelect component prop. (fdd65d4)
  • Standardize application store state management with unified data, loading, and error handling. (d607c35)
  • standardize configuration store API across all components (72a91e8)
  • standardize HTML formatting and rebrand from "Riligar Auth" to "Auth" (de79b08)
  • standardize loading and configuration state management (10cfea9)
  • standardize loading state naming in organizations store (5cf5d32)
  • standardize padding values and improve loading UI (cb7e67d)
  • standardize spacing and clean up UI components (7498aa0)
  • standardize user list empty state UI, conditionally render filter, and refine user role validation. (a33b42d)
  • Streamline application and organization store loading and error state management with a new utility. (edb3440)
  • Streamline application details and API key management by simplifying store updates and API key deletion logic. (8c0cc7f)
  • Streamline application ID access and consolidate user menu options. (f098fa5)
  • Streamline application overview by removing API keys, unique features, and quick start guide sections and updating the database. (f39e916)
  • switch email sending from AWS SDK SES client to Nodemailer with SES SMTP (4709d7c)
  • switch from SWC to Babel for Lingui macro compilation (9be4032)
  • translate header navigation to Portuguese and update button styling (247c474)
  • translate website sections to Portuguese (pt-BR) (a2293ee)
  • Unify organization create/update API endpoint and remove status badge from organization list. (e473e35)
  • update API response interceptor comment to reflect local data cleanup functionality (95b9af6)
  • Update application route paths, uncomment related endpoints, and remove defaultRole from organization config. (0e9b7ad)
  • update AUTH_SECRET environment variable name to BETTER_AUTH_SECRET (f1aac22)
  • update authentication components for improved layout and consistency (afb2b34)
  • update authentication middleware and streamline server setup (f1e4997)
  • update contact page layout, adjust section backgrounds, and enhance footer branding (8018b35)
  • update database connection and improve email logging in auth.js (33dc685)
  • update database import and schema handling in auth.js (ebba221)
  • update email template and remove unused assets (bbed531)
  • update email template styles and adjust database file (c0d82cb)
  • update user management components to use application object (6456d2d)

🔧 CI/CD

  • configure automated release workflow and semantic-release settings. (6fca84d)
  • remove publish-auth-react workflow (32dfc72)

🔨 Manutenção

  • Add BETTER_AUTH_SECRET environment variable to Dockerfile. (e9b3ca8)
  • Add Mantine and Tabler Icons dependencies to the auth-react demo application. (26dfdcc)
  • add patch-package for managing npm package patches (eb27e84)
  • add visual confirmation message for R2 backup service startup (44054dd)
  • Atualiza dependências @riligar/elysia-backup e @riligar/elysia-sqlite (8aebcee)
  • auth-react: release 1.2.0 [skip ci] (4615eac)
  • bump version to 1.0.0 and update build configuration (0b01b1a)
  • configure internationalization and update Prettier settings (3ad4bf1)
  • ignore database files and .vite directory. (9147991)
  • move open-graph.jpg to images subdirectory (1a75e02)
  • optimize build configuration and remove unused dependencies (c7d759d)
  • Refine UI by adjusting modal radius and changing an icon, and update manager database. (8617415)
  • remove empty router index file (5bbf061)
  • remove Stagewise toolbar dependency (b9036d1)
  • remove unused authentication and backup files (6ba0945)
  • remove unused preload comments and modulepreload link (b483060)
  • set NODE_ENV for production and development scripts (9947b35)
  • Update backup cron configuration, refine cron status UI, and fix date conversion for next run. (a965191)
  • update BETTER_AUTH_SECRET in Dockerfile (f03c7f4)
  • update CORS configuration to use dynamic origin validation (54d3539)
  • update dependencies and enable Stagewise toolbar (888c945)
  • update dependencies and simplify build scripts (c511e3c)
  • update environment configuration and enhance email error handling (2e94bc7)
  • update manager database schema (14cd8ca)
  • Update page titles in documentation and dashboard, and modify manager database. (6165ae3)
  • upgrade @vitejs/plugin-react-swc to v4.2.1 (3f25609)

1.0.5 (2025-12-17)

🔨 Manutenção

  • add Prettier configuration file (f567875)

1.0.4 (2025-12-16)

🔨 Manutenção

  • bump package version to 1.2.0 (b6c2e25)

1.0.3 (2025-12-16)

🔨 Manutenção

  • update package version to 1.2.0 (45ccabd)

1.0.2 (2025-12-16)

🐛 Correções

  • release: bump version to 1.0.2 to resolve registry conflict (ecb9384)

1.0.1 (2025-12-16)

🐛 Correções

  • release: bump version to 1.0.1 to resolve registry conflict (353414c)

1.0.0 (2025-12-16)

🔨 Manutenção

  • migrate auth-elysia to standalone repository (1ad80c6)

1.1.0 (2025-09-16)

✨ Novas Funcionalidades

  • add ButtonDelete component and integrate it into OrganizationModal for improved delete functionality (1b8a765)
  • add CreateExternalModal component and integrate it into the Layout for organization creation (e958402)
  • add edit organization functionality with modal integration in Layout component (1454d0c)
  • add navigation to applications page after organization selection (173154d)
  • add upsert support for applications and return full application data (7f6683a)
  • application: initialize project with React and Vite setup in package.json and main.jsx (cd5e67f)
  • application: integrate Mantine components and React Router for enhanced UI and routing (f59e91f)
  • dashboard: add ButtonCopy component for API key copying in Applications and update Overview configuration (11e3d43)
  • dashboard: implement API key management features in Applications component with loading states and notifications (2f7b001)
  • i18n: add email and password prompts for SignIn component in English and Portuguese locales (1cd956f)
  • i18n: integrate Lingui for internationalization support across components and pages (1317762)
  • implement auth system with protected routes and user management (8fd8b8d)
  • implement Bearer token auth plugin and remove JWT dependency (e090b02)
  • implement Ed25519 JWT signing and improve API key validation (7ff3bf0)
  • migrate authentication to JWT-based system with Better Auth plugin (f7c9da2)
  • update Organizations and Users components with new exports and enhanced user management functionality (f73770f)
  • users: add expiry_days field with validation to user invitation form in New component (9f4d050)
  • users: implement user creation and invitation forms in New component with validation and loading states (8fc76cd)
  • users: implement user management interface with search, filter, and create user functionality (c236d64)

🐛 Correções

  • auth-react: ensure consistent newline at end of index.js (4d12683)
  • auth-react: ensure consistent newline at end of index.js for improved formatting (75fa781)
  • logo: increase logo height from 30px to 36px for better visibility (1648121)
  • update logout navigation path from /signin to root route (6e82ccb)

📚 Documentação

  • add auth flow diagram showing user, org and app interactions (f711ac5)
  • add external backend authentication flow documentation (38ae840)
  • add external frontend auth flow documentation and clarify Auth-as-a-Service description (00d66f8)
  • add external MCP flow documentation with authentication and authorization details (7516bbb)
  • improve formatting and readability of external MCP flow documentation (4b17477)
  • manager: update README with FlyV1 configuration examples for better clarity (5311919)
  • rename flow.txt to flow-internal.txt and update title (98f94fa)

♻️ Refatoração

  • api: disable CORS credentials in API client for improved security (35547ae)
  • App: improve code formatting and update heading text (007c177)
  • application: enhance Application component structure by adding Tabs for better navigation and removing unused organization state (cef96fc)
  • application: remove App component and associated styles, restructure routing for improved clarity (04f6943)
  • application: remove unused files and configurations to streamline project structure (26f3b90)
  • application: rename workspaces to organizations in Dashboard component for clarity and consistency (a550c62)
  • application: simplify Dashboard component, enhance application display, and update main theme configuration (74d2c98)
  • Applications: simplify application descriptions by removing Lingui integration and enhancing layout for better readability (e196aac)
  • application: update index.html structure, remove unused assets, and simplify Dashboard component for improved performance (4b77452)
  • application: update routing structure by replacing Application component with specific List and Edit components, and remove unused Application and Applications pages (bb5fdad)
  • centralize application state management and standardize error handling (420a89c)
  • components: enhance padding in Overview component for improved layout (294008e)
  • components: overhaul configuration components by consolidating settings, enhancing user interface, and improving state management for better usability (9b420ff)
  • components: remove Configurations component and update imports to use Configurations.Overview (29c757b)
  • components: remove unused configuration components and update imports for cleaner structure (0f8b145)
  • components: restructure component exports and remove unused Logo component for improved clarity (e2c84a3)
  • components: simplify Authentication and Overview components by removing unused settings and updating group names for clarity (ceb3ba6)
  • components: standardize padding in Overview components and clean up unused imports (47dbb51)
  • consolidate application store methods and standardize naming conventions (28af821)
  • consolidate organization management components by removing Edit and New, enhancing Modal for all organization operations (2ea3f94)
  • consolidate organization store usage across components and remove deprecated organizationsStore (663b4c9)
  • dashboard: rename upsert function for clarity in ApplicationModal component (0f026f3)
  • dashboard: update Applications component to enhance application settings and API key management (fd3f6b5)
  • enhance error handling in user management processes and streamline user creation logic (7e38662)
  • enhance frontend architecture documentation by adding imperative rules for LLM, introducing mandatory templates for services, stores, and components, and streamlining CRUD operations for improved clarity and consistency (5dec4e1)
  • enhance organization management by improving modal integration and streamlining state handling (760cd3d)
  • enhance OrganizationModal by introducing local state for open/close logic and simplifying form value handling (7b8ffb8)
  • enhance OrganizationModal for improved edit functionality and streamline organization updates (bc58796)
  • enhance OrganizationModal state management by unifying modal open/close logic and improving clarity in Layout component (996b65b)
  • enhance user list and modal components with improved handling for empty names and dependency management (cc9f275)
  • enhance user management by integrating fetch functionality for users and invitations, and improve loading state handling (09ed1ca)
  • implement user editing functionality in Users component, enhancing user management with upsert capabilities and improved modal handling (98a48f8)
  • improve organization modal state handling and simplify organization selection in layout (972a327)
  • improve state management in Layout and FeatureModal components by unifying modal close logic and enhancing form handling for better clarity (42ebf2e)
  • improve user management logic by implementing upsert functionality for memberships and enhancing user creation and update processes (b77f9f9)
  • Layout: enhance application selection menu by adding application types and improving layout with new components (846a252)
  • layout: simplify Layout component by removing unused imports and optimizing props for cleaner code (dbfd361)
  • manager: streamline Dockerfile by reorganizing Node.js installation and improving dependency setup (525cd22)
  • manager: update app name in fly.toml and README for auth-manager (e345df1)
  • manager: update fly.toml configuration for messages-manager, enhancing concurrency settings and app name (ac8f2e9)
  • optimize OrganizationModal by reducing state management complexity and enhancing form initialization for better clarity and performance (7980675)
  • organizations: replace Organizations component with Organizations.Overview and update imports; remove unused Organizations.jsx file (21c8431)
  • Overview: add theme icon to configuration sections and adjust layout for improved visual clarity (eb70c8d)
  • overview: enhance Overview component with detailed installation steps, technology showcase, and user guidance for Clerk integration (7899bca)
  • Overview: restructure configuration sections for improved clarity and usability, updating labels and descriptions for better user guidance (98d52ef)
  • overview: restructure Next steps section in Overview component for improved layout and clarity (f0a1c7d)
  • overview: simplify Box component in Overview by removing unnecessary margin (13a58ce)
  • remove CreateExternalModal component and replace with Modal in organization management (ad85c84)
  • remove duplicate auth handler mount at /dashboard endpoint (837735a)
  • remove Edit and New user components, rename Users to UsersList and Users to UsersOverview for clarity (851bd75)
  • remove ignore password policies option from user modal for cleaner user experience (1435ba5)
  • remove outdated test files for applications loading, authentication flow, and organizations integration to streamline test suite (95642d2)
  • remove React Query dependencies and simplify user management components (da5226e)
  • remove unused organization components and streamline organization management in the dashboard (718f471)
  • rename tenant_id to organization_id across database schema and queries (f77e966)
  • replace application edit page with modal and simplify navigation flow (52b9393)
  • replace workspace-based auth with organization-based tenant structure (c3a5a27)
  • routes: replace Login component with SignIn and add SignUp route for improved authentication flow (0ffac23)
  • server: clean up code formatting and ensure consistent use of semicolons (74fa6d2)
  • simplify application loading logic by separating fetch and select effects (5ec0d35)
  • simplify authentication endpoints by removing /dashboard prefix (6a8e4a8)
  • simplify OrganizationModal by consolidating notification logic and enhancing form handling for improved user experience (c192bf6)
  • simplify user management by consolidating user list and overview components into a single Users component for better maintainability (bd42e97)
  • streamline OrganizationModal logic for improved edit and create operations, enhancing state management and user experience (1a57938)
  • streamline user management components by integrating store functionality and enhancing user creation and invitation processes (b5ee997)
  • unify error handling structure in application store for improved consistency (ad7962f)
  • unify organization CRUD operations in modal and store, enhancing state management and simplifying API interactions (c8f56bc)
  • unify organization modal handling for create and edit operations, improving state management and modal behavior (dc3147e)
  • update application loading state management to use a unified loading structure (e404f30)
  • update fly.toml configuration for riligar-auth-manager with improved resource allocation and region settings (b4fb66b)
  • update frontend architecture documentation to clarify mandatory templates, improve structure, and enhance performance patterns for better consistency and usability (7ca969a)
  • update organization modal styles and simplify organization service response handling (15bf021)
  • update organizations loading state management to use a unified structure (0edcf8b)
  • update user creation and invitation processes to include application ID in API calls for improved context handling (24c5b07)
  • users: change Users component export to named export and remove unused Users.jsx file (c3c62d0)
  • users: streamline Users component imports and enhance search input with additional icon (f72f031)

🔨 Manutenção

  • add bearer token logging in auth service sign-in flow (0690370)
  • auth-elysia: update authentication plugin to use new API URL and enhance code formatting for clarity (d3ae0d0)
  • auth-react: release 1.0.3 [skip ci] (9c81ca5)
  • auth-react: release 1.0.4 [skip ci] (75aceda)
  • auth-react: release 1.1.0 [skip ci] (db5f958)
  • auth-react: release 1.1.3 (b38a094)
  • dashboard: comment out build configuration in vite.config.js for future reference (788cbd7)
  • dashboard: update environment variables and enhance package.json scripts for improved development and production workflows (6da012a)
  • downgrade vite version from 7.0.0 to 6.0.0 in package.json (5f11604)
  • manager: enhance Dockerfile by adding Node.js installation for better-sqlite3 and update README to reflect CLI command changes (9d4e39c)
  • manager: update CORS policy to allow all origins for improved accessibility (5358d9e)
  • manager: update Dockerfile to install additional dependencies for native modules and update start script in package.json (3b20373)
  • manager: update Dockerfile to use Bun 1.2-slim for improved performance (9f94c03)
  • manager: update Dockerfile to use specific Bun version and improve dependency installation process (2e434b1)
  • update .gitignore to include bun.lock and .swc files, and remove unused jsx option from Lingui config (45cc3cf)
  • update build script in package.json to include Lingui compile step (96519e3)
  • update manager database write-ahead log to reflect recent changes (8be285a)
  • update package dependencies and enhance organizations service response mapping (9c1c878)
  • upgrade better-auth package from 1.2.9 to 1.3.7 (2e06d38)

1.0.3 (2025-06-20)

🐛 Correções

  • auth-elysia: ensure consistent newline at end of index.js (10c7d47)
  • auth-react: add missing newline at end of index.js for consistency (d28d1a1)

🔨 Manutenção

  • auth-react: release 1.0.2 [skip ci] (7b74ae7)

1.0.2 (2025-06-20)

🐛 Correções

  • auth-elysia: add missing newline at end of index.js for consistency (227d375)

🔨 Manutenção

  • auth-elysia: update CHANGELOG.md to include initialization of @riligar/auth-elysia package with authentication middleware and plugin for ElysiaJS (83699c5)
  • auth-react: release 1.0.1 [skip ci] (b8bd8d5)

1.0.1 (2025-06-20)

🔨 Manutenção

  • auth-elysia: update CHANGELOG.md to reflect new features and improvements (74eeab0)

1.0.0 (2025-06-20)

✨ Novas Funcionalidades

  • Plugin de autenticação para ElysiaJS com verificação JWT local
  • Suporte a JWKS para verificação de assinatura
  • Cache inteligente de chaves públicas
  • Middleware de autenticação automático
  • Rotas de autenticação integradas (/auth/login, /auth/register, etc.)
  • Fallback para verificação remota quando necessário

About

Auth is the easiest way to add authentication and user management to your applications.

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •