<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D51Y00006TuuDESAZOkta Classic EngineSingle Sign-OnAnswered2024-03-25T10:49:01.000Z2019-07-26T10:40:20.000Z2019-07-30T20:28:46.000Z

p5x1z (p5x1z) asked a question.

Get rate limit values from okta sign in widget

Hi ,

I am currently using the okta-sign-in widget - javascript (@okta/okta-signin-widget

) for logging in to OKTA . I would need the rate limit values (x-rate-limit-limit,x-rate-limit-remaining) from the response headers , once the user is logged in .

Is there any way i could retrieve those values


  • Hi,

     

    As far as the two rate limit headers go, Okta send them as Response headers to all requests and they vary based on the endpoint involved, from the Sign in Widget it would depend on the authentication you select, if its doing the standard POST to the Authentication endpoint the /api/v1/authn or if your doing oauth2 openid via Authorization to Okta's /oauth2/v1 from your domain, then you would see different values, the overall response headers from Okta will contain: X-Rate-Limit; X-Rate-Limit-Remaining and X-Rate-Limit-Reset for each individual endpoint and its own rate limit values.

     

    Hope this helps, if you have any development inquiries, our Developer forum and articles are at your disposition:

    https://developer.okta.com/docs/reference/rate-limits/#okta-api-endpoints-and-per-minute-limits

     

    Best Regards.

    Expand Post
This question is closed.
Loading
Get rate limit values from okta sign in widget