
p5x1z (p5x1z) asked a question.
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 Sripriya - thanks for your question! This has been escalated to support who should be reaching out shortly. Thanks!
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.