Hi Team,
We would like to have a custom action or hook to handle the number of token requests that is sent to Auth0. We dont want the other customers to be impacted because of one customer sending multiple requests to the token endpoint.
Any leads which i can look into ?
Can we use custom actions / hooks ? If yes, please help with some sample.
A post login Action would be running after a successful authentication takes place. This means it wouldn’t necessarily prevent requests to the token endpoint. Are you running into a scenario where a single user is causing rate limit errors for your whole tenant?
In case, if one user is hitting the token endpoint continuously and if that reaches the rate limit, it will affect the other users also. So we want to have a limit set for a user to use the token generation endpoint with some limits.
The client should be caching tokens, and requesting +30 tokens/second in a single client would be quite unusual. You could simply revoke their credentials, have you considered this?