# Cannot change required aud value in access token

**URL:** <https://devforum.okta.com/t/cannot-change-required-aud-value-in-access-token/35297>\
**Category:** OAuth/OIDC\
**Created:** [June 9, 2026, 4:51am UTC](https://devforum.okta.com/t/cannot-change-required-aud-value-in-access-token/35297 "2026-06-09T04:51:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Udith](https://avatars.discourse-cdn.com/v4/letter/u/b2d939/32.png) [@Udith](https://devforum.okta.com/u/Udith)\
**Post date:** [June 9, 2026, 4:51am UTC](https://devforum.okta.com/t/cannot-change-required-aud-value-in-access-token/35297/1 "2026-06-09T04:51:29Z")

</div>

I am trying to embed Tableau dashboards into my web application. Tableau has this method called _connected apps approach_ which trusts the Okta signed access token which is included in the requests coming from my web application.  
After the issuer is registered in Tableau, a site Id is generated. We need to set that in the access token in aud claim. The format of the aud value is given by tableau documentation as “`tableau:<site_luid>`”. For example, “`tableau: abcdefer-ghij-123c-a234-kjce345klns`”  
However, Okta does not let to set this value in the aud claim. Could you pls provide guidance on setting this audience?

---

<div class="post-metadata">

**Author:** ![vk-giri](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/vk-giri/32/5178_2.png) [@vk-giri](https://devforum.okta.com/u/vk-giri)\
**Post date:** [June 9, 2026, 4:59am UTC](https://devforum.okta.com/t/cannot-change-required-aud-value-in-access-token/35297/2 "2026-06-09T04:59:32Z")

</div>

Hi,

To change the `aud` value in the token, you would need a Custom Authorisation Server. [Create an authorization server | Okta Developer](https://developer.okta.com/docs/guides/customize-authz-server/main/#create-an-authorization-server) . You would need the API/AM SKU to create the Authorization Server.

---

<div class="post-metadata">

**Author:** ![Udith](https://avatars.discourse-cdn.com/v4/letter/u/b2d939/32.png) [@Udith](https://devforum.okta.com/u/Udith)\
**Post date:** [June 9, 2026, 5:28am UTC](https://devforum.okta.com/t/cannot-change-required-aud-value-in-access-token/35297/3 "2026-06-09T05:28:11Z")

</div>

Thank you for the reply. I already have a custom authorization server and definitely check inline hook.

Additionally, I would like to know,

1. Can the default aud value be overridden by a custom claim named aud
2. is this format supported in the aud claim “`tableau: abcdefer-ghij-123c-a234-kjce345klns`”? This is the format tableau expects.

This was copied from the doc: [Create an authorization server | Okta Developer](https://developer.okta.com/docs/guides/customize-authz-server/main/#create-an-authorization-server)  
\ ***Note:** When a custom authorization server creates an access token, you must define the **Audience** property. This property must match the `aud` claim that’s returned during access token validation. The **Audience** property should be set to the URI for the OAuth 2.0 resource server that consumes the access token. Use an absolute path such as `https://api.example.com/pets`. This value is used as the default \*\*[audience (opens new window)](https://tools.ietf.org/html/rfc7519#section-4.1.3)\*_for access tokens._

---

<div class="post-metadata">

**Author:** ![vk-giri](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/vk-giri/32/5178_2.png) [@vk-giri](https://devforum.okta.com/u/vk-giri)\
**Post date:** [June 9, 2026, 5:59am UTC](https://devforum.okta.com/t/cannot-change-required-aud-value-in-access-token/35297/4 "2026-06-09T05:59:51Z")

</div>

1. _Can the default aud value be overridden by a custom claim named aud -_ This is not possible, since aud is an reserved keyword so you can’t add another custom claim named aud\

2. _is this format supported in the aud claim “`tableau: abcdefer-ghij-123c-a234-kjce345klns`”? This is the format tableau expects. -_ This is possible, I was able to create an Access Token with the expected string format

---

<div class="post-metadata">

**Author:** ![udithkaushalya](https://avatars.discourse-cdn.com/v4/letter/u/b9e5f3/32.png) [@udithkaushalya](https://devforum.okta.com/u/udithkaushalya)\
**Post date:** [June 16, 2026, 5:04am UTC](https://devforum.okta.com/t/cannot-change-required-aud-value-in-access-token/35297/5 "2026-06-16T05:04:24Z")

</div>

Thanks for the helpful info!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [July 16, 2026, 5:04am UTC](https://devforum.okta.com/t/cannot-change-required-aud-value-in-access-token/35297/6 "2026-07-16T05:04:28Z")

</div>

Closed on July 16, 2026, 5:04am UTC

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