Hi,
I started migrate our Auth0 rules to actions and I am using nodejs package auth0 inside actions to get user info / update user / get user by email and more.
Yes, it can definitely reach your rate limit if you perform excessive amounts of requests to the Management API. You can review your subscription limit in our Rate Limit Configurations documentation.
Thank you for your response. I checked shared auth0 code for cache Auth0 access token. I found from with latest version of auth0 (4.13.0). There is no more function management.getAccessToken() so then the code is not possible to run with latest version. I needed downgrade to version 3.7.2 (not ideal).
Is there a way how to get accessToken with latest version 4.13.0?
And also I found cache limitation to 4kB for single key and accessToken could be more. How to deal with it?
I have tested this and confirmed that the management.getAccessToken() has been removed in the latest version of Auth 4.13.0.
Moving forward, you could also use the client credentials grant to make a post request (Axios, for example) to get the access token while still using the latest version.
And yes, cache items have a maximum size of 4kB with an accumulative size of the cache keys not exceeding 8kB. This is mentioned in our Actions Limitations documentation.