yao/openapi/tests/oauth
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
..
acl Enhance member management with member_id and email checks 2025-10-26 09:49:45 +08:00
authorized_test.go Add Yao authentication source and OAuth email handling 2026-02-07 19:44:10 +08:00
device_test.go Enhance OAuth Device Flow implementation 2026-03-04 15:19:48 +08:00
guard_test.go Enhance OAuth token handling and refresh logic 2026-02-21 18:06:27 +08:00
oauth_test.go Remove deprecated test files and refactor OAuth response handling 2025-07-24 15:53:29 +08:00
token_test.go Remove deprecated test files and refactor OAuth response handling 2025-07-24 15:53:29 +08:00