Closed DaveOrDead closed 3 months ago
[!WARNING]
Rate limit exceeded
@DanielRivers has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 20 minutes and 44 seconds before requesting another review.
How to resolve this issue?
After the wait time has elapsed, a review can be triggered using the `@coderabbitai review` command as a PR comment. Alternatively, push new commits to this PR. We recommend that you space out your commits to avoid hitting the rate limit.How do rate limits work?
CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our [FAQ](https://coderabbit.ai/docs/faq) for further information.Commits
Files that changed from the base of the PR and between 6e12671aca0853728e96b9fc09d8261c24a8162d and fbd0f1a8974e730a45e47f930a2ab312d864585e.
The recent updates introduce an on_error_callback
parameter to the createKindeClient
function, enhance error handling in handleRedirectToApp
, and set a default value for app_state.kindeOriginUrl
in redirectToKinde
. Additionally, the ErrorProps
type has been added, and certain type definitions in src/types.ts
have been updated to use Record<string, unknown>
instead of object
.
File | Change Summary |
---|---|
src/createKindeClient.ts |
Added on_error_callback parameter, enhanced error handling in handleRedirectToApp , and set default value for app_state.kindeOriginUrl in redirectToKinde . |
src/types.ts |
Added ErrorProps type and updated KindeClientOptions and OrgOptions types to use Record<string, unknown> instead of object . Updated on_redirect_callback to take appState as Record<string, unknown> . |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Explain your changes
Add callback for handling auth errors returned from the serve
Checklist
🛟 If you need help, consider asking for advice over in the Kinde community.