tududi/backend/tests/unit
Chris 93bcbc0485
fix(oidc): normalize OIDC_SCOPE to handle whitespace issues (#1060)
Adds automatic scope normalization to prevent URL encoding issues when
OIDC_SCOPE contains extra whitespace, tabs, or newlines. This addresses
issue #1056 where spaces in the scope value could cause authentication
failures in some environments.

Changes:
- Added normalizeScope() function to trim and collapse whitespace
- Automatically adds 'openid' scope if missing with warning
- Updated both single and multi-provider configurations
- Added comprehensive tests for scope normalization edge cases
- Added service tests to verify authorization URL construction
- Updated documentation with scope formatting guidance

Fixes #1056
2026-04-24 13:15:58 +03:00
..
middleware Add comprehensive LLM development documentation (#939) 2026-03-14 02:54:59 +02:00
models Fix Telegram notification spam with channel-level rate limiting (#951) 2026-03-19 20:26:11 +02:00
modules fix(oidc): normalize OIDC_SCOPE to handle whitespace issues (#1060) 2026-04-24 13:15:58 +03:00
services fix: prevent task name truncation when creating from inbox (#1020) 2026-04-13 23:14:52 +03:00
shared Add comprehensive LLM development documentation (#939) 2026-03-14 02:54:59 +02:00
utils feat(caldav): Add CalDAV Synchronization Support (Issue #978) (#1030) 2026-04-17 17:40:39 +03:00