yao/grpc
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 Implement gRPC support in the Yao SDK 2026-03-04 13:17:48 +08:00
api Implement gRPC support in the Yao SDK 2026-03-04 13:17:48 +08:00
auth Implement gRPC support in the Yao SDK 2026-03-04 13:17:48 +08:00
health Implement gRPC support in the Yao SDK 2026-03-04 13:17:48 +08:00
llm Implement gRPC support in the Yao SDK 2026-03-04 13:17:48 +08:00
mcp Implement gRPC support in the Yao SDK 2026-03-04 13:17:48 +08:00
pb Implement gRPC support in the Yao SDK 2026-03-04 13:17:48 +08:00
run Implement gRPC support in the Yao SDK 2026-03-04 13:17:48 +08:00
shell Implement gRPC support in the Yao SDK 2026-03-04 13:17:48 +08:00
tests/testutils Implement gRPC support in the Yao SDK 2026-03-04 13:17:48 +08:00
DESIGN.md Implement gRPC support in the Yao SDK 2026-03-04 13:17:48 +08:00
grpc.go Implement gRPC support in the Yao SDK 2026-03-04 13:17:48 +08:00
IMPL.md Enhance OAuth Device Flow implementation 2026-03-04 15:19:48 +08:00
TEST.md Implement gRPC support in the Yao SDK 2026-03-04 13:17:48 +08:00