My Android app makes some REST calls to my backend. I wish that only and only my app is authorized to call the endpoints.
I intend to use Google's SafetyNet to archive this.
1) My app ask my server fora random nonce
2) My app ask for an .attest()
3) My app receive the JWT
4) My app call one of my endpoint by providing the JWT
5) My server calls Google server to verify the JWT is correct
6) If yes, the call is processed, rejected otherwise..
My question is: is there a rate limit on the .attest() ? My app will be making several POST request every 2 or 3 seconds seconds
Is the above logic going to work at this scale? Is there any other way I can assure that the data posted to my endpoint is coming from my app and only my app?