# NextJs Auth0 - getAccessToken M2M Quota Limits?

**URL:** <https://community.auth0.com/t/nextjs-auth0-getaccesstoken-m2m-quota-limits/84736>\
**Category:** Get Help\
**Tags:** m2m, jwt, nextjs, auth0\
**Created:** [June 7, 2022, 2:05pm UTC](https://community.auth0.com/t/nextjs-auth0-getaccesstoken-m2m-quota-limits/84736 "2022-06-07T14:05:44Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![stefano.brandoli23](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stefano.brandoli23/32/37863_2.png) [@stefano.brandoli23](https://community.auth0.com/u/stefano.brandoli23)\
**Post date:** [June 9, 2022, 8:44am UTC](https://community.auth0.com/t/nextjs-auth0-getaccesstoken-m2m-quota-limits/84736/3 "2022-06-09T08:44:48Z")

</div>

I’ve digged more into the question.

What I’ve found is this [https://community.auth0.com/t/get-details-of-authentication-calls/38981/2](https://community.auth0.com/t/get-details-of-authentication-calls/38981/2).

Basically M2M calls that are accounted in the quota should be those marked in the logs as `seccft` events (Client credentials exchange).  
It seems also that M2M token quota is impacted only by Client Credentials exchanges that are not related to the user (access tokens related to social logins, standard logins should be excluded).

From the logs I see in my dashboard, after a successful login on my NextJs website and the retrieval of an access token using `getAccessToken`, the following events appear in the log:

1. event of type “s”: Successful login
2. event of “type”: “seacft” → “description”: “Authorization Code for Access Token”

My understanding thus is that getAccessToken for the logged user does not count for the M2M Quota.  
Anyhow, I would like a confirmation about this from the Auth0 Team.

Have a nice day

---

_[View the full topic](https://community.auth0.com/t/nextjs-auth0-getaccesstoken-m2m-quota-limits/84736)._
