# Fixed Length of Access Token & Authorization Code in the tenant.yaml

**URL:** <https://community.auth0.com/t/fixed-length-of-access-token-authorization-code-in-the-tenant-yaml/72695>\
**Category:** Get Help\
**Tags:** auth0\
**Created:** [November 5, 2021, 7:08pm UTC](https://community.auth0.com/t/fixed-length-of-access-token-authorization-code-in-the-tenant-yaml/72695 "2021-11-05T19:08:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![c-obiye.kolokolo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/c-obiye.kolokolo/32/13218_2.png) [@c-obiye.kolokolo](https://community.auth0.com/u/c-obiye.kolokolo)\
**Post date:** [November 5, 2021, 7:08pm UTC](https://community.auth0.com/t/fixed-length-of-access-token-authorization-code-in-the-tenant-yaml/72695/1 "2021-11-05T19:08:16Z")

</div>

How do I set Fixed Length of Access Token & Authorization Code to true in the tenant.yaml?

---

<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:** [November 5, 2021, 8:12pm UTC](https://community.auth0.com/t/fixed-length-of-access-token-authorization-code-in-the-tenant-yaml/72695/3 "2021-11-05T20:12:58Z")

</div>

Hi @c-obiye.kolokolo,

Welcome to the Auth0 Community!

> [@c-obiye.kolokolo](#):
>
> How do I set Fixed Length of Access Token & Authorization Code to true in the tenant.yaml?

You’ll need to set the `issue_opaque_access_tokens` to `true` in your _tenant.yaml_ file.

Here is an example for clarity:

```auto
migrations:
  issue_opaque_access_tokens: true

```

Please let me know if you have any other questions. I’d be happy to help.

Thank you.

---

<div class="post-metadata">

**Author:** ![c-obiye.kolokolo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/c-obiye.kolokolo/32/13218_2.png) [@c-obiye.kolokolo](https://community.auth0.com/u/c-obiye.kolokolo)\
**Post date:** [November 5, 2021, 8:20pm UTC](https://community.auth0.com/t/fixed-length-of-access-token-authorization-code-in-the-tenant-yaml/72695/4 "2021-11-05T20:20:44Z")

</div>

Yeah that is what I had in my tennant.yaml file and it still didn’t set it to true when I looked at Auth0 advanced setting migrations section.

---

<div class="post-metadata">

**Author:** ![c-obiye.kolokolo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/c-obiye.kolokolo/32/13218_2.png) [@c-obiye.kolokolo](https://community.auth0.com/u/c-obiye.kolokolo)\
**Post date:** [November 5, 2021, 8:32pm UTC](https://community.auth0.com/t/fixed-length-of-access-token-authorization-code-in-the-tenant-yaml/72695/5 "2021-11-05T20:32:05Z")

</div>

Nvm. that did work. Thanks for all the help!

---

<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:** [November 5, 2021, 8:33pm UTC](https://community.auth0.com/t/fixed-length-of-access-token-authorization-code-in-the-tenant-yaml/72695/6 "2021-11-05T20:33:10Z")

</div>

Hi @c-obiye.kolokolo,

Thank you for your responses.

I’m happy to hear that it worked.

Please let me know if there’s anything else I can do to help.

Have a great rest of your day!

---

<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:** [November 20, 2021, 8:33pm UTC](https://community.auth0.com/t/fixed-length-of-access-token-authorization-code-in-the-tenant-yaml/72695/7 "2021-11-20T20:33:43Z")

</div>

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