# M2M tokens quota Counting

**URL:** <https://community.auth0.com/t/m2m-tokens-quota-counting/148644>\
**Category:** Get Help\
**Tags:** free-trial, subscription-billing\
**Created:** [October 4, 2024, 4:21pm UTC](https://community.auth0.com/t/m2m-tokens-quota-counting/148644 "2024-10-04T16:21:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![goncalo.rodrigues](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/goncalo.rodrigues/32/33548_2.png) [@goncalo.rodrigues](https://community.auth0.com/u/goncalo.rodrigues)\
**Post date:** [October 4, 2024, 4:21pm UTC](https://community.auth0.com/t/m2m-tokens-quota-counting/148644/1 "2024-10-04T16:21:34Z")

</div>

Hello,

We are currently working with Auth0 in our application. To handle the login we are calling an endpoint oauth/token with the “password” grant-type. Everytime we call this endpoint does this count towards the M2M tokens quota?

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [October 4, 2024, 7:15pm UTC](https://community.auth0.com/t/m2m-tokens-quota-counting/148644/3 "2024-10-04T19:15:13Z")

</div>

Hi @goncalo.rodrigues,

Calling the `/oauth/token` endpoint with the **password** grant-type does not count towards the M2M tokens quota.

The M2M quota only increments when you request with the [**client\_credentials** grant-type.](https://auth0.com/docs/get-started/authentication-and-authorization-flow/client-credentials-flow)

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![goncalo.rodrigues](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/goncalo.rodrigues/32/33548_2.png) [@goncalo.rodrigues](https://community.auth0.com/u/goncalo.rodrigues)\
**Post date:** [October 7, 2024, 11:54am UTC](https://community.auth0.com/t/m2m-tokens-quota-counting/148644/4 "2024-10-07T11:54:29Z")

</div>

Hello @rueben.tiow ,

Thanks in advance for your response.

What about the Monthly Active Users quota? Does requesting tokens with the password grant-type for a specific user count towards that quota?

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [October 8, 2024, 2:27am UTC](https://community.auth0.com/t/m2m-tokens-quota-counting/148644/5 "2024-10-08T02:27:47Z")

</div>

Hi @goncalo.rodrigues,

Thanks for the reply.

Yes, the Monthly Active Users quota increments whenever a user logs in at least once within that calendar month, which includes Social, Password, Passwordless, and Enterprise user types.

(Reference: [Monitor Subscription Usage](https://auth0.com/docs/troubleshoot/customer-support/manage-subscriptions/monitor-subscription-usage#active-users))

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [October 22, 2024, 2:28am UTC](https://community.auth0.com/t/m2m-tokens-quota-counting/148644/6 "2024-10-22T02:28:11Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
