Skip to content

Releases: Anvoria/authly

Release 0.4.5

15 Jan 19:33
07e1663

Choose a tag to compare

Release 0.4.5

Changelog

  • Merge pull request #46 from Anvoria/feature/overview (07e1663)
  • Merge pull request #47 from Anvoria/coderabbitai/docstrings/c2e4c8c (959b433)
  • 📝 Add docstrings to feature/overview (1c5a77d)
  • feat(permission): add ManageAudit permission and integrate into admin routes for audit log access (d66c93d)
  • feat(dashboard): integrate audit logs into admin overview with search and filter functionality (c2e4c8c)
  • feat(audit): add detailed schema and endpoint for retrieving paginated audit logs (6f46e6a)
  • feat(audit): implement GetAuditLogs endpoint for paginated audit log retrieval (8129185)
  • chore: format (e88a55a)
  • fix(dashboard): improve tooltip time formatting in ActivityChart component (e8bf6f9)
  • feat(dashboard): add support for "Authorization Code Granted" event in RecentActivityRow component (2c4c28c)
  • refactor(audit): change details field type from array of integers to object in AuditLogResponse and related schemas (72ad4f4)
  • feat(dashboard): enhance admin dashboard with activity charts, recent activity logs, and statistics cards (3af8909)
  • refactor(audit): update AuditLog model to use UUID as primary key and add created_at field (4d01885)
  • feat(audit): add /admin/stats endpoint and related data models for admin dashboard statistics (1e9adac)
  • chore(deps): remove unused objx dependency from go.mod and go.sum (429e9de)
  • chore(tests): remove service_test.go file containing mock implementations and test cases (9eea467)
  • feat(audit): integrate audit service into auth and OIDC services for enhanced logging of user actions (90c57c9)
  • feat(audit): add new event type for authorization code granted in audit model (2c87264)
  • feat(service): add Count method to ServiceInterface for retrieving total service and user counts (c4939dd)
  • feat(audit): implement audit handler and service for admin dashboard statistics, including user counts, login stats, and recent activity (e7eb848)
  • feat(audit): add repository implementation for audit logging with methods for creating logs, retrieving recent activity, and aggregating login statistics (d6d158d)
  • feat(audit): implement audit logging functionality with database migration and model definition (9d81911)
  • Merge pull request #44 from Anvoria/chore/docs (b442def)
  • Merge pull request #42 from Anvoria/feature/openapi-integration (45e9165)
  • chore: remove outdated issue templates for bug reports, documentation improvements, and feature requests (ba76f73)
  • feat: add new issue templates for bug reports, documentation improvements, and feature requests (46d9ad4)
  • refactor(auth): replace hardcoded client ID and redirect URIs with OIDC_CONFIG for improved maintainability and consistency across authentication flows (68770f4)
  • refactor(auth): streamline authentication flow by replacing router push with loginWithRedirect and simplifying error handling in AuthProvider (98d2879)
  • refactor(api): remove deprecated authentication and core client files, update auth middleware to include credentials for requests (2c0b619)
  • chore(ci): update GitHub Actions workflows to use 'apps/api' directory and upgrade action versions for improved performance (54410f2)
  • refactor(auth): enhance login and authorization handling with improved type safety and error management (8160ed9)
  • feat(api): refine OIDC UserInfo endpoint documentation, enhance UserInfoResponse model with required fields, and update user schemas for consistency (14e1b7f)
  • feat(api): update OIDC UserInfo endpoint documentation and introduce UserInfoResponse model with validation for user claims (cb400a4)
  • feat(auth): add session check hook and update service/user schemas to use generated API schemas (1924efd)
  • feat(services): enhance service modals with improved error handling, validation for allowed scopes, and default values for service names and client IDs (9ae6ac9)
  • feat(api): update GetUserInfo to include first name, last name, and permissions in claims (c0b74d7)
  • feat(api): implement OIDC authorization endpoints with detailed Swagger documentation, including validation and confirmation processes (baf3e99)
  • feat(api): add detailed Swagger documentation for OIDC authorization request validation and confirmation endpoints (93edcc8)
  • feat(api): enhance OIDC handler with detailed Swagger documentation for authorization and token endpoints, streamline error handling, and remove deprecated code (f9d0e7f)
  • feat(auth): refactor authentication logic in proxy and AuthProvider components, update user info fetching to use OIDC UserInfo endpoint, and streamline service and user management hooks (c369b59)
  • chore(api): generate documentation (fe5c209)
  • feat(api): add Swagger documentation and request validation structures for permission management endpoints (4ea1996)
  • feat(api): enhance role management endpoints with Swagger documentation and introduce request validation structures (7f8037e)
  • feat(api): add Swagger documentation for user management endpoints and introduce request validation structures (e3a8edd)
  • feat(api): enhance service management endpoints with detailed Swagger documentation and request validation structures (455506e)
  • fix(profile): enhance user authentication handling in ProfilePage and Navbar components (afbc9b2)
  • feat(auth): implement proxy middleware for authentication and redirect logic, refactor login and registration components to streamline user flow (215390b)
  • feat(auth): refactor login and registration components to use react-hook-form, implement API error handling, and update authentication hooks (ed37fd5)
  • feat(auth): integrate react-hook-form for registration, add API error handling, and update registration response schema (fc94d48)
  • feat(docs): update API documentation to reflect changes in registration response structure and add RegisterDataResponse definition (2a4ef35)
  • feat(validation): implement struct validation for user login and registration, update dependencies (3feaca9)
  • feat(api): add Makefile for API documentation generation and integrate Kubb for schema validation (88ed9f3)
  • feat(docs): add required fields and validation rules for user login and registration requests, update Swagger version to 0.2 (6f821b8)
  • chore: format (06a10f8)
  • chore(main): update Swagger versioning and restrict documentation access to development environment (5552062)
  • chore(deps): update go.mod and go.sum to include Swagger and go-cmp dependencies (dec19c9)
  • feat(docs): integrate Swagger for API documentation and enhance user authentication endpoints (c190fe8)
  • refactor: move backend and frontend dirs to apps folder (5b6144b)
  • refactor(Sidebar): enhance sidebar animations and improve visibility transitions. (d3ded92)
  • Merge pull request #40 from Anvoria/admin/dashboard-management (544a69d)
  • fix(UsersPage): update search condition to use debouncedSearch for clearer user experience (7d3c629)
  • fix(CreateServiceModal): handle validation errors for empty paths and improve error message assignment (a511e8f)
  • fix(CreateServiceModal): ensure sanitized service name defaults to an empty string when invalid (892a695)
  • chore: format (7292fc0)
  • refactor: implement useCopyToClipboard hook for clipboard functionality in ServiceRow, ServiceSecretModal, and CodeExamples components (52fe5fb)
  • Merge pull request #41 from Anvoria/coderabbitai/docstrings/0646a46 (86cebd5)
  • 📝 Add docstrings to admin/dashboard-management (732424d)
  • fix(ServiceSecretModal): add aria-labels to buttons for improved accessibility (0646a46)
  • fix(EditServiceModal): handle empty path in validation errors to prevent potential runtime issues (d1778d4)
  • fix(user-service): return ErrUserNotFound for non-existent users in UpdateUser method to enhance error handling (1465e9c)
  • refactor(EditServiceModal): extract comma-separated string parsing into a utility function for cleaner code (4ad6a40)
  • fix(user-service): return ErrUserNotFound for non-existent users in DeleteUser method to improve error handling (f6bd8a5)
  • fix(ServiceSecretModal): add hover cursor style to buttons for better user interaction (050eb3a)
  • fix(AdminLayout): add User02Icon to profile button for improved visual indication (13c56e3)
  • fix(EditServiceModal): display error message for allowedScopes input to improve validation feedback (4b87473)
  • fix(EditServiceModal): remove unnecessary undefined checks in validation schema for cleaner code (c7ac938)
  • fix(AdminLayout): update breadcrumb links to use Next.js Link component for improved navigation (64a2f9a)
  • refactor(user-service): remove redundant user existence checks in UpdateUser and DeleteUser methods for cleaner code (a8447c0)
  • fix(role-handler): add validation for ID format in UpdateRole and DeleteRole methods to ensure proper error handling (ad129d6)
  • fix(AdminLayout): add aria-labels for mobile menu and profile button to improve accessibility (079d86e)
  • fix(utils): enhance formatDate function to handle undefined and invalid date inputs by returning 'N/A' (a395619)
  • fix(oidc): use nullish coalescing for backend response assignment to handle undefined values (8441431)
  • fix(UserRow): display 'N/A' for users with no creation date to improve clarity (b31d803)
  • fix(EditServiceModal): clear error messages on input change to enhance user experience (1fcaa56)
  • refactor(AdminLayout): update breadcrumb structure to use semantic HTML with ordered list for improved accessibility (5d37f3d)
  • fix(user-service): improve error handling for email and username uniqueness checks in Register method (8790202)
  • fix(user-service): enhance error handling in UpdateUser method to properly manage existing email and username checks (a5fc413)
  • fix(role-handler): add validation for user_id and role_id format in AssignRole method (1908621)
  • fix(role-handler): update UpdateRole method to handle optional fields in request payload (995511b)
  • fix(role-handler): add validation for service_id format in GetRolesByService method (a808bd2)
  • fix(command): enhance error handling in runInit...
Read more

Release 0.2.5

19 Dec 07:15
cb9b20e

Choose a tag to compare

Release 0.2.5

Changelog

  • fix: update release workflow to correctly reference backend directory for Go build and binary path (cb9b20e)
  • fix: refine error handling in authorization request validation by updating error structure and adding errorDescription field (f34a958)
  • refactor: standardize OIDC error handling by implementing MapErrorToOIDC function for consistent error responses across handlers (c73c1c7)
  • Merge pull request #16 from Anvoria/feat/oidc (815dfd1)
  • fix: improve error handling and logging in OIDC handler by standardizing error messages and enhancing structured logging (4bf5f7d)
  • fix: remove unsupported grant type 'refresh_token' from OpenID configuration (4c05fee)
  • fix: add eslint directive to suppress warning for client logo image in ConsentScreen component (773b835)
  • fix: simplify error handling in authorization process by removing unnecessary redirect logic (f0dcee3)
  • fix: update service cache to use repository method for domain lookup in cache invalidation (f088806)
  • fix: enhance error logging in OIDC handler by replacing error messages with structured logs (316d389)
  • fix: improve error handling in authorization and registration processes by utilizing type guard for ApiError (db3607d)
  • fix: enhance cache invalidation by including client_id keys in ServiceCache (ccf2a1b)
  • feat: introduce LocalStorageTokenService for managing OIDC code verifier in login process (2af070c)
  • fix: update jwks_uri path in OpenID configuration to remove versioning from URL (00e5161)
  • refactor: simplify OIDC parameter handling by introducing redirectToAuthorize function in login and register pages (820c0f2)
  • fix: implement constant-time comparison for code challenge verification to prevent timing attacks (0aa6df8)
  • refactor: remove optional parameters for code challenge and client ID in OIDC authorization request (2c5ea65)
  • fix: correct regex for code challenge string formatting in generateCodeChallenge function (80e8d4d)
  • refactor: implement type guard for ApiError to improve error handling in login process (06787b9)
  • fix: make code_challenge and code_challenge_method optional in OIDC authorization request schema (1bdeb6c)
  • chore: rename prettier config file (62cb4b1)
  • feat: implement cache management in BaseClient with eviction and expiration handling (d5e65bd)
  • refactor: streamline authentication request handling by consolidating login, register, and getMe functions into a reusable request handler (135cdba)
  • fix: correct case sensitivity in error description for unsupported code challenge method in OIDC validation (e5b792c)
  • refactor: enhance Button component to support both button and anchor elements with improved type safety (22e43eb)
  • refactor: consolidate HTTP request methods into a single request function for improved code maintainability (7eb06c9)
  • fix: remove suppressHydrationWarning from RootLayout HTML element (7a34d68)
  • chore: format (049ce34)
  • fix: remove error redirect for invalid redirect URI in authorization flow (476d833)
  • chore: format (6cb954e)
  • fix: enhance MarkAsUsed method to handle expired or already used authorization codes (06ade9b)
  • refactor: improve redirect URI handling in OIDC authorization flow (cd02f94)
  • refactor: improve Redis client checks in service cache methods (ae1f028)
  • fix: partial object issue on cache hit, inconsistency in GetByDomain (27f6b4b)
  • refactor: clean up whitespace and formatting in OIDC, API, and login files (5dbd129)
  • refactor: clean up whitespace and formatting in login and API files (56a5cd2)
  • chore: format (d7db96b)
  • feat: enhance login flow with PKCE support and token exchange functionality (d94676f)
  • Merge pull request #17 from Anvoria/coderabbitai/docstrings/4457d6e (0cf98b2)
  • 📝 Add docstrings to feat/oidc (929e15a)
  • fix: update CI badge in README to reflect new backend workflow (4457d6e)
  • feat: add CI workflow for backend with testing and building steps (c20413b)
  • chore: update .gitignore to specify key directory and remove sensitive key files (be20a29)
  • feat: add session management enhancements with user session revocation and retrieval functionality (3a2af85)
  • feat: enhance authorization flow by adding support for PKCE parameters and improving validation checks (bbd5dcd)
  • refactor: remove unsupported scopes from OpenID configuration (713f748)
  • feat: implement consent screen and enhance authorization flow with validation and error handling (91e8d25)
  • feat: implement OAuth2/OIDC authorization validation and confirmation endpoints (24695d0)
  • feat: enhance login and registration pages with authentication check and loading state (ddcee6c)
  • feat: add MIT License and update README with project details and badges (00a3689)
  • feat: implement Authorize page with authentication check and redirect to login (410db78)
  • feat: add Me endpoint to retrieve current authenticated user information (0edd81b)
  • feat: add login page and API integration with validation schemas for user authentication (978030b)
  • feat: implement registration page and API integration with validation schemas (5c50628)
  • feat: configure CORS middleware for HTTP server to allow specific origins and methods (49b2494)
  • feat: add Zod validation schemas for user authentication and registration (f80c651)
  • feat: add example environment configuration file and update .gitignore to include it (ec1ded5)
  • feat: add axios dependency for API requests and update package lock (73d5381)
  • feat: add GeneralClient and IRequestResponsePayload interfaces for API communication and response handling (79b387d)
  • feat: implement UserInfo endpoint for OIDC, extracting user information based on requested scopes and integrating claims handling (df9cf27)
  • fix: update user info endpoint path from '/user/info' to '/userinfo' for consistency (4c249a6)
  • refactor: rename scope-related functions to permissions, update middleware and claims handling for improved clarity and consistency (dcabac5)
  • feat: implement OAuth2 token endpoint with request validation and error handling (3ee677f)
  • feat: add session middleware for OIDC authorization flow and update session handling in login (cc2f2b4)
  • feat: implement OIDC authorization flow with request validation and authorization code generation (999ea02)
  • fix: typo in module name (c1d511a)
  • feat: detailed OpenID configuration (315b5cf)
  • feat: add domain configuration to server settings and update router to utilize issuer for auth middleware (c107b6a)
  • feat: implement OpenID configuration handler and update router to include endpoint (119c08f)
  • style: update global styles for dark theme, enhance accessibility, and improve scrollbar design (791f820)
  • refactor: update tsconfig paths for module resolution and add Input component for form handling (fb47f7b)
  • chore: add Prettier configuration file and update package.json to use it for formatting (64856a3)
  • chore: update font imports in layout component to use Sora and JetBrains Mono (8fdeba4)
  • chore: remove unused SVG files and add new logo.svg for branding (094f71a)
  • feat: create reusable Button component with customizable styles and props (208b7ca)
  • chore: add clsx and tailwind-merge dependencies, update tsconfig paths, and create utility function for class name merging (7b30464)
  • chore: update frontend package.json to use bun for script commands and add formatting script (3830f35)
  • chore: initialize frontend with Next.js setup, including configuration files, dependencies, and basic layout (a33af2f)
  • chore: add example environment configuration file for backend (f00a150)
  • chore: update .gitignore to include .DS_Store and add backend configuration file for Air (c22f671)
  • chore(ci): update CI workflow to trigger on changes in the backend directory (a7413a1)
  • chore: move backend to backend folder (710062b)
  • fix(auth): change error response status to BadRequest for registration failures and add password required error constant (c4b18e7)
  • refactor(service): replace service code with client_id across the codebase, updating related methods and interfaces for consistency (8b61d04)
  • Merge pull request #13 from Anvoria/auth/aud (b6f5bbc)
  • fix(session): add context timeout for Redis cache revocation to prevent potential blocking (cdb183d)
  • refactor(auth): update ServiceRepository interface to include context parameter for FindByDomain and FindByCode methods (16be274)
  • delete(migrations): remove migrate_test.go file as it is no longer needed (9eef364)
  • fix(auth): add validation for requiredBit in RequirePermission middleware to ensure valid bit positions (cca890c)
  • feat(cache, auth): add GetByCode method to ServiceCache and update ServiceRepository interface for code-based service retrieval (be7967a)
  • refactor(cache): remove unused InvalidateAll method from ServiceCache (db65770)
  • fix(cache): add Redis client initialization checks in service cache methods (277ed6b)
  • fix(cache): update Redis connection handling to prevent connection leaks (271cf52)
  • fix(auth): add audience validation in AuthMiddleware to ensure token integrity (0c51ef5)
  • fix: add missing newline at the end of router.go to comply with coding standards (cc014ad)
  • fix: add missing newlines at the end of multiple files to comply with coding standards (e92c9b7)
  • Merge pull request #14 from Anvoria/coderabbitai/docstrings/674c6a9 (d36517d)
  • 📝 Add docstrings to auth/aud (0f4e98b)
  • refactor(session): remove service test file to streamline test suite (674c6a9)
  • feat(cache, revocation): implement token revocation cache with Redis support and integrate into session management (2b740dc)
  • feat(migrations, user): remove unique constraint from email column and update related migrations (89b08c7)
  • feat(cache, redis): integrate Redis caching for service lookups and add Redis configuration support (f990601)
  • feat(auth, service): add domain support for services and include origin validation (1893203)
  • feat(auth): add RequireScope and RequirePermission middleware for scope and permission checks (3f4f1de...
Read more

Release 0.2

06 Dec 22:07
1c89d58

Choose a tag to compare

Release 0.2

Build Information:

  • Version: 0.2
  • Build Time: 2025-12-06T22:07:23Z
  • Git Commit: 1c89d58

Downloads:

  • Binary: authly-0.2-linux-amd64.tar.gz
  • Checksum: authly-0.2-linux-amd64.tar.gz.sha256