Files
TimeTracker/app/routes
Dries Peeters c0e0fd2d17 Fix OIDC login failure due to missing nonce parameter in ID token parsing
The OIDC callback was failing because parse_id_token() was called without
the required 'nonce' parameter, causing authentication to fail with a
TypeError. This prevented the issuer (iss) claim from being extracted,
which is required for successful OIDC login.

Changes:
- Check if ID token claims are already available in the token response
  under 'userinfo' key (parsed by Authlib during authorize_access_token)
- If not available, retrieve nonce from session and pass it to
  parse_id_token() method
- This ensures the issuer and subject claims are properly extracted from
  the ID token instead of only relying on the userinfo endpoint

The issuer claim is only present in the ID token, not the userinfo
endpoint, so proper ID token parsing is essential for authentication.

Fixes #<issue_number>
2025-10-16 12:52:51 +02:00
..
2025-10-10 13:48:24 +02:00
2025-10-09 13:13:28 +02:00
2025-10-09 06:49:56 +02:00
2025-10-09 06:49:56 +02:00
2025-10-09 06:49:56 +02:00
2025-10-09 06:49:56 +02:00