Files
Frederic Jahn c4f4249d68 Parse email_verified claim correctly from Apple ID token (#2054)
* fix: parse email_verified claim correctly

The email_verified claim in the apple identity token can either be a string or a bool. Before it was assumed that it is always a string, but when the claim is of type bool an error is returned. Now the claim type is checked and parsed accordingly. Also when the type check or parsing fails it is assumed that the email is not verified.

* test: add test for boolean claim

* chore: only log warning when error is not nil
2025-02-19 09:00:25 +01:00
..
2023-04-28 13:31:12 +02:00
2025-01-31 14:17:52 +01:00
2025-01-31 14:17:52 +01:00
2025-01-31 14:17:52 +01:00
2025-01-31 14:17:52 +01:00
2025-01-31 14:17:52 +01:00
2025-01-31 14:17:52 +01:00
2025-01-31 14:17:52 +01:00
2025-01-31 14:17:52 +01:00
2025-01-31 14:17:52 +01:00