Commit graph

19 commits

Author SHA1 Message Date
Krrish Dholakia
5147b8df13 build: re-run ci/cd 2024-07-13 11:41:35 -07:00
Krrish Dholakia
ceb21e720e style: trigger new build 2024-06-29 19:26:21 -07:00
Krrish Dholakia
6fcad5f199 fix(proxy_server.py): track team spend for cached team object
fixes issue where team budgets for jwt tokens weren't asserted
2024-06-18 17:10:12 -07:00
Krrish Dholakia
72774319e8 fix(test_jwt.py): fix import 2024-06-17 21:08:01 -07:00
Ishaan Jaff
b48dd811e7 fix test jwt 2024-06-15 14:24:00 -07:00
Ishaan Jaff
d55959a71e fix new team test 2024-06-15 13:24:13 -07:00
Ishaan Jaff
6cc3b3048a fix new team test 2024-06-11 22:03:03 -07:00
Krrish Dholakia
7eeb8d6251 fix(proxy_server.py): fix admin allowed routes 2024-05-22 20:55:21 -07:00
Krrish Dholakia
93cb65dfee feat(proxy_server.py): support 'user_id_upsert' flag for jwt_auth 2024-05-15 22:19:59 -07:00
Krrish Dholakia
ed4315af38 feat(handle_jwt.py): add support for 'team_id_default
allows admin to set a default team id for spend-tracking + permissions
2024-05-15 21:33:35 -07:00
Krrish Dholakia
da2ea0ba04 feat(proxy_server.py): make team_id optional for jwt token auth (only enforced, if set)
Allows users to use jwt auth for internal chat apps
2024-05-15 21:05:14 -07:00
Sara Ghaemi
51210cf2bd updated tests 2024-05-07 13:28:57 -04:00
Sara Ghaemi
6adaeef47c updated tests to also check for audience if found 2024-05-07 12:10:47 -04:00
Krrish Dholakia
9d9426c291 test(test_jwt.py): add testing to make sure user api key auth returns the expected values 2024-04-11 20:18:55 -07:00
Krrish Dholakia
737bb3e444 fix(proxy_server.py): fix tpm/rpm limiting for jwt auth
fixes tpm/rpm limiting for jwt auth and implements unit tests for jwt auth
2024-03-28 21:19:34 -07:00
Krrish Dholakia
996fa82a2f test(test_jwt.py): fix test 2024-03-26 15:22:05 -07:00
Krrish Dholakia
a0f55b92e6 fix(handle_jwt.py): support public key caching ttl param 2024-03-26 14:32:55 -07:00
Krrish Dholakia
10ecf31827 test(test_jwt.py): add unit tests for jwt auth integration 2024-03-25 13:24:39 -07:00
Krrish Dholakia
38bdf31652 fix(handle_jwt.py): allow setting proxy admin role string for jwt auth 2024-03-25 12:20:14 -07:00