Marco A. and GitHub
701bca6003
feat(session): TOTP Check API with relation tables ( #11886 )
...
# Which Problems Are Solved
As part of #11035 , this PR implements the TOTP check logic for session
validation
# How the Problems Are Solved
- Implement TOTP check logic and tests
- The tarpit function has been moved to a common file so that it can be
used by both TOTP and password checks
- Manual transaction management to avoid stalling the DB while verifier
function is executed
- Update `database.Change` `Matches()` function to allow comparison of
`time.Time` values
- A converter package from GRPC to Domain model has been added
# Additional Context
This is a cherry-picked PR + changes, coming from
https://github.com/zitadel/zitadel/pull/11164
- Relates to #11035
2026-04-01 11:34:03 +02:00
..
2026-03-27 12:38:40 +01:00
2026-02-23 16:03:47 +01:00
2026-03-18 10:24:09 +01:00
2026-03-18 10:24:09 +01:00
2025-12-19 07:03:27 +01:00
2025-12-19 07:03:27 +01:00
2025-09-24 13:19:09 +00:00
2026-02-06 09:46:24 +00:00
2025-09-05 09:54:34 +01:00
2026-04-01 11:34:03 +02:00
2026-03-13 11:40:48 +01:00
2025-09-16 18:58:49 +02:00
2025-09-05 09:54:34 +01:00
2025-09-05 09:54:34 +01:00
2025-09-05 09:54:34 +01:00
2026-03-27 12:38:40 +01:00
2026-03-27 12:38:40 +01:00
2025-10-27 14:04:06 +00:00
2025-10-21 15:27:38 +02:00
2025-11-25 11:54:32 +01:00
2026-03-05 09:43:14 +00:00
2026-02-05 03:44:07 +00:00
2026-03-05 09:43:14 +00:00
2026-02-05 03:44:07 +00:00
2025-09-24 13:19:09 +00:00
2025-09-24 13:19:09 +00:00
2026-03-06 19:20:54 +01:00
2025-12-17 12:01:09 +01:00
2026-03-06 19:20:54 +01:00
2025-12-17 12:01:09 +01:00
2026-03-06 19:20:54 +01:00
2025-12-17 12:01:09 +01:00
2026-03-06 19:20:54 +01:00
2025-12-17 12:01:09 +01:00
2025-12-17 12:01:09 +01:00
2026-03-06 19:20:54 +01:00
2025-12-17 12:01:09 +01:00
2026-03-06 19:20:54 +01:00
2025-12-17 12:01:09 +01:00
2026-03-06 19:20:54 +01:00
2025-12-17 12:01:09 +01:00
2026-03-06 19:20:54 +01:00
2025-12-17 12:01:09 +01:00
2026-01-26 14:52:15 +00:00
2026-03-27 12:38:40 +01:00
2026-03-27 12:38:40 +01:00
2025-10-27 14:04:06 +00:00
2025-10-27 14:04:06 +00:00
2025-10-27 14:04:06 +00:00
2026-02-04 11:51:43 +01:00
2025-10-27 14:04:06 +00:00
2026-01-12 05:51:39 +00:00
2025-10-27 14:04:06 +00:00
2026-03-13 11:40:48 +01:00
2025-10-27 14:04:06 +00:00
2026-02-23 16:03:47 +01:00
2025-10-14 10:15:16 +01:00
2026-01-26 14:52:15 +00:00
2026-03-06 19:20:54 +01:00
2025-10-27 14:04:06 +00:00
2025-09-16 18:58:49 +02:00
2026-03-06 19:20:54 +01:00
2025-10-27 14:04:06 +00:00
2026-03-06 19:20:54 +01:00
2025-10-27 14:04:06 +00:00
2025-10-21 15:27:38 +02:00
2025-10-21 15:27:38 +02:00
2025-10-21 15:27:38 +02:00
2026-03-06 19:20:54 +01:00
2025-10-27 14:04:06 +00:00
2026-03-06 19:20:54 +01:00
2025-10-27 14:04:06 +00:00
2025-10-22 08:40:21 +00:00
2025-10-14 10:15:16 +01:00
2026-03-05 14:55:42 +01:00
2025-10-21 15:27:38 +02:00
2026-03-27 12:38:40 +01:00
2026-03-27 12:38:40 +01:00
2026-02-23 16:03:47 +01:00
2026-03-19 08:35:53 +01:00
2025-11-14 11:04:16 +00:00
2025-11-14 11:04:16 +00:00
2025-11-14 11:04:16 +00:00
2025-10-01 09:47:04 +00:00
2025-10-22 08:40:21 +00:00
2026-03-31 11:50:53 +00:00
2026-03-31 11:50:53 +00:00
2026-03-31 11:50:53 +00:00
2026-03-31 11:50:53 +00:00
2026-03-26 11:33:44 +00:00
2026-03-26 11:33:44 +00:00
2026-03-20 06:57:36 +01:00
2026-03-20 06:57:36 +01:00
2026-03-27 12:38:40 +01:00
2026-03-27 12:38:40 +01:00
2026-03-20 06:57:36 +01:00
2026-04-01 11:34:03 +02:00
2026-03-31 11:50:53 +00:00
2026-04-01 11:34:03 +02:00
2026-04-01 11:34:03 +02:00
2026-04-01 11:34:03 +02:00
2026-03-10 09:10:31 +00:00
2026-03-10 09:10:31 +00:00
2026-04-01 11:34:03 +02:00
2026-03-19 08:35:53 +01:00
2026-03-19 08:35:53 +01:00
2026-01-06 08:08:11 +01:00
2025-11-25 11:54:32 +01:00
2026-01-06 08:08:11 +01:00
2026-03-19 08:35:53 +01:00
2026-01-06 08:08:11 +01:00
2025-09-05 09:54:34 +01:00
2026-03-26 11:33:44 +00:00
2025-12-02 08:16:21 +01:00
2025-12-11 12:33:19 +01:00
2026-03-19 08:35:53 +01:00
2026-02-23 16:03:47 +01:00
2026-03-27 12:38:40 +01:00
2026-03-27 12:38:40 +01:00
2025-11-25 11:54:32 +01:00
2025-11-25 11:54:32 +01:00
2026-02-23 16:03:47 +01:00