Fix: SSO Numeric Normalization to recover from preventable SSO failures #389

Closed
opened 2026-04-05 21:06:46 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @krparajuli on 8/25/2025

In testing SSO with Microsoft Entra, the SSO fails due to Microsoft Entra supplying time valued fields particularly related to expiry of tokens consist of strings rather than integers.

This causes current SSO flow to error out.

Screenshot 2025-08-19 at 11 39 36

This commit attempts recovery by trying to parse the strings value of relevant fields to integers.

*Originally created by @krparajuli on 8/25/2025* In testing SSO with Microsoft Entra, the SSO fails due to Microsoft Entra supplying time valued fields particularly related to expiry of tokens consist of strings rather than integers. This causes current SSO flow to error out. <img width="346" height="194" alt="Screenshot 2025-08-19 at 11 39 36" src="https://github.com/user-attachments/assets/34d50c5a-f5af-4c45-968d-a0d0c49c43bf" /> This commit attempts recovery by trying to parse the strings value of relevant fields to integers.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#389