# Change the scope from string to array format in access token

**URL:** <https://community.auth0.com/t/change-the-scope-from-string-to-array-format-in-access-token/91125>\
**Category:** Get Help\
**Created:** [September 22, 2022, 12:04pm UTC](https://community.auth0.com/t/change-the-scope-from-string-to-array-format-in-access-token/91125 "2022-09-22T12:04:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![varshithp](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/varshithp/32/33629_2.png) [@varshithp](https://community.auth0.com/u/varshithp)\
**Post date:** [September 22, 2022, 12:04pm UTC](https://community.auth0.com/t/change-the-scope-from-string-to-array-format-in-access-token/91125/1 "2022-09-22T12:04:41Z")

</div>

i have a scope in access token which is in string format .can i change that to array format ?if yes can help understand how

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [September 24, 2022, 12:24am UTC](https://community.auth0.com/t/change-the-scope-from-string-to-array-format-in-access-token/91125/3 "2022-09-24T00:24:20Z")

</div>

Hello @varshithp welcome to the community!

Just to confirm, you are looking to have scopes included in the access token as an array as opposed to a string with each scope separated by a space as they currently are:

```auto
"scope": "openid profile email offline_access"

```

I don’t think this is currently possible but I can certainly do some digging once you confirm that is indeed what you are after 🙂

---

<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 8, 2022, 12:24am UTC](https://community.auth0.com/t/change-the-scope-from-string-to-array-format-in-access-token/91125/4 "2022-10-08T00:24:28Z")

</div>

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