yao/openapi/tests
Max 1c79908649 Enhance OAuth Device Flow implementation
- Add support for the OAuth Device Authorization Flow (RFC 8628) in the OpenAPI service, allowing devices with limited input capabilities to obtain authorization.
- Implement `DeviceAuthorization()` and `AuthorizeDevice()` methods to handle device and user code generation, storage, and authorization.
- Update the OAuth endpoints to include `/device/authorize` for user code authorization and fix the discovery endpoint path for device authorization.
- Introduce MongoDB service in CI workflows for testing and enhance the unit test workflow with Redis setup.
- Update Go module dependencies to include necessary packages for the new features.

This commit significantly advances the OAuth capabilities of the application, enabling a more flexible authorization process for devices.
2026-03-04 15:19:48 +08:00
..
agent Add chat metadata persistence and enhance executor goals injection tests 2026-02-28 13:57:45 +08:00
chat Refactor Citation Handling and Enhance Search Result Storage 2025-12-15 17:17:51 +08:00
dsl Remove deprecated test files and refactor OAuth response handling 2025-07-24 15:53:29 +08:00
file Refactor content type assertion in file tests for improved clarity 2025-11-06 11:57:59 +08:00
hello Remove deprecated test files and refactor OAuth response handling 2025-07-24 15:53:29 +08:00
kb Refactor Job System for Enhanced Function Execution and Error Handling 2025-12-19 15:08:16 +08:00
oauth Enhance OAuth Device Flow implementation 2026-03-04 15:19:48 +08:00
otp Refactor OTP tests to remove deprecated /otp/create endpoint; update tests to reflect server-side OTP generation and enhance login flow validation. 2026-02-21 21:53:54 +08:00
testutils ⚠️ BREAKING: Removed the Studio package and renamed Neo to Agent. Configuration file path changed from neo/neo.yml to agent/agent.yml. 2025-11-06 18:13:54 +08:00
trace Refactor trace node management to support multiple parents and enhance type handling 2025-11-21 17:33:00 +08:00
user Add Yao authentication source and OAuth email handling 2026-02-07 19:44:10 +08:00
config_test.go Remove deprecated test files and refactor OAuth response handling 2025-07-24 15:53:29 +08:00
integrations_webhook_test.go Enhance robot integration with Telegram and improve event handling 2026-03-01 22:03:25 +08:00
openapi_test.go Remove deprecated test files and refactor OAuth response handling 2025-07-24 15:53:29 +08:00