I’m using a react front end app with a backend API server (on node). Its an admin interface for car dealerships. I use a call to the user Info endpoint in order to retrieve user and app metadata when a request is made to the API. (Basically storing info in the metadata indicating which dealership the user belongs to in order to determine if the user has access to a specified resource on the back end).
However, I realized that the ‘userInfo’ endpoint is throttled to 5 calls per minute.
So my solution does not seem scalable at all since I have to make at least one call per login even if I cache the user information. Can you guide me to a better solution to getting user and app metadata on API server?