# If amr claim is only available in the ID Token how can I validate the Access Token to check for MFA?

**URL:** <https://community.auth0.com/t/if-amr-claim-is-only-available-in-the-id-token-how-can-i-validate-the-access-token-to-check-for-mfa/187062>\
**Category:** Get Help\
**Tags:** mfa-api, mfa\
**Created:** [May 22, 2025, 9:00am UTC](https://community.auth0.com/t/if-amr-claim-is-only-available-in-the-id-token-how-can-i-validate-the-access-token-to-check-for-mfa/187062 "2025-05-22T09:00:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicholas.irving](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nicholas.irving/32/74927_2.png) [@nicholas.irving](https://community.auth0.com/u/nicholas.irving)\
**Post date:** [May 22, 2025, 9:00am UTC](https://community.auth0.com/t/if-amr-claim-is-only-available-in-the-id-token-how-can-i-validate-the-access-token-to-check-for-mfa/187062/1 "2025-05-22T09:00:49Z")

</div>

The Documentation says that I need to set a scope to do this.

`In a delegated authorization scenario where a third-party client wants to call your API, **you must not use an ID token to call the API**. In addition to the lack of mechanisms to bind it to the client, there are several other reasons not to do this`

So is there a way to do this without breaking the specs?

---

<div class="post-metadata">

**Author:** ![teodor.andrei](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/teodor.andrei/32/75320_2.png) [@teodor.andrei](https://community.auth0.com/u/teodor.andrei)\
**Post date:** [May 23, 2025, 1:40pm UTC](https://community.auth0.com/t/if-amr-claim-is-only-available-in-the-id-token-how-can-i-validate-the-access-token-to-check-for-mfa/187062/3 "2025-05-23T13:40:18Z")

</div>

Hi @nicholas.irving, and welcome to the Auth0 Community!

You will have to set a custom claim on the Access Token with the amr you obtain from the ID Token using an action. Please take a look at this [doc](https://auth0.com/docs/secure/tokens/json-web-tokens/create-custom-claims) on how to set it up. Also, pay attention to the naming of the custom claim, as the key “amr” is restricted.

I hope this helps you, but let me know if you need more help!

Sincerely,  
Teodor

---

<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:** [June 6, 2025, 1:40pm UTC](https://community.auth0.com/t/if-amr-claim-is-only-available-in-the-id-token-how-can-i-validate-the-access-token-to-check-for-mfa/187062/4 "2025-06-06T13:40:35Z")

</div>

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