tududi/backend/tests
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
..
helpers feat(caldav): Add CalDAV Synchronization Support (Issue #978) (#1030) 2026-04-17 17:40:39 +03:00
integration fix(today-settings): add missing CSRF token to today settings PUT request (#1044) 2026-04-20 13:05:03 +03:00
mocks Add nanoid 2025-08-04 23:50:53 +03:00
unit fix(oidc): normalize OIDC_SCOPE to handle whitespace issues (#1060) 2026-04-24 13:15:58 +03:00