# Requesting accessToken not returning a valid JWT

**URL:** <https://community.auth0.com/t/requesting-accesstoken-not-returning-a-valid-jwt/78958>\
**Category:** JWT.io\
**Tags:** jwt, access-token, auth0\
**Created:** [February 26, 2022, 2:15am UTC](https://community.auth0.com/t/requesting-accesstoken-not-returning-a-valid-jwt/78958 "2022-02-26T02:15:51Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![markd](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/markd/32/38919_2.png) [@markd](https://community.auth0.com/u/markd)\
**Post date:** [February 26, 2022, 3:01pm UTC](https://community.auth0.com/t/requesting-accesstoken-not-returning-a-valid-jwt/78958/2 "2022-02-26T15:01:40Z")

</div>

Hello @halsdunes,

I looks like you are not including an `audience` string in your request. Without an `audience` string Auth0 will return an opaque access token which can be used only for querying the `userinfo` endpoint.

> **[Get Access Tokens](https://auth0.com/docs/secure/tokens/access-tokens/get-access-tokens#control-access-token-audience)**
>
> Learn how to request Access Tokens using the Authorize endpoint when authenticating users and include the target audience and scope of access requested by the app and granted by the user.

---

_[View the full topic](https://community.auth0.com/t/requesting-accesstoken-not-returning-a-valid-jwt/78958)._
