You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: replace httpretrier with httpx for proper 429 retry handling
The httpretrier library did not properly retry HTTP 429 (Too Many Requests)
responses from the AWS SSO SCIM API. Replace it with httpx which explicitly
retries on 429 and 5xx errors with configurable backoff strategies.
AWS SCIM clients now use jitter backoff to prevent thundering herd effects
during rate limiting. Google Workspace clients use exponential backoff.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -191,7 +191,7 @@ sam deploy --parameter-overrides SyncUserFields=phoneNumbers,addresses,enterpris
191
191
## ⚠️ Limitations
192
192
193
193
***Group Limit**: The AWS SSO SCIM API has a limit of 50 groups per request. Please support the feature request on the [AWS Support site](https://repost.aws/questions/QUqqnVkIo_SYyF_SlX5LcUjg/aws-sso-scim-api-pagination-for-methods) to help get this limit increased.
194
-
***Throttling**: With a large number of users and groups, you may encounter a `ThrottlingException` from the AWS SSO SCIM API. This project uses a [retryable HTTP client](https://github.com/p2p-b2b/httpretrier) to mitigate this, but it's still a possibility.
194
+
***Throttling**: With a large number of users and groups, you may encounter a `ThrottlingException` from the AWS SSO SCIM API. This project uses the [httpx](https://github.com/slashdevops/httpx) library with automatic retry and jitter backoff to mitigate this, but it's still a possibility.
195
195
***User Status**: The Google Workspace API doesn't differentiate between normal and guest users except for their status. This project only syncs `ACTIVE` users.
Copy file name to clipboardExpand all lines: docs/Whats-New.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,21 @@
2
2
3
3
This document tracks notable changes, new features, and bug fixes across releases.
4
4
5
+
## v0.40.1
6
+
7
+
### Improved HTTP Retry Library
8
+
9
+
Replaced the `httpretrier` library with [httpx](https://github.com/slashdevops/httpx), a zero-dependency HTTP client with built-in retry support.
10
+
11
+
**Why:** The previous library did not properly handle HTTP `429 Too Many Requests` responses, which caused issues with AWS SSO SCIM API throttling under high load.
12
+
13
+
**What changed:**
14
+
15
+
* The `httpx` library automatically retries on `429` and `5xx` responses with configurable backoff strategies.
16
+
* AWS SCIM API calls now use **jitter backoff** instead of simple exponential backoff, reducing the chance of thundering herd effects during rate limiting.
17
+
* Google Workspace API calls use **exponential backoff** for reliable retries.
18
+
* The `httpx` library has zero external dependencies and integrates with Go's `slog` logging.
0 commit comments