# Authentication API Debugger returning null access token

**URL:** <https://community.auth0.com/t/authentication-api-debugger-returning-null-access-token/123329>\
**Category:** Get Help\
**Tags:** auth0-authorization, extensions\
**Created:** [December 19, 2023, 4:30am UTC](https://community.auth0.com/t/authentication-api-debugger-returning-null-access-token/123329 "2023-12-19T04:30:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![latomaine](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/latomaine/32/53367_2.png) [@latomaine](https://community.auth0.com/u/latomaine)\
**Post date:** [December 19, 2023, 4:30am UTC](https://community.auth0.com/t/authentication-api-debugger-returning-null-access-token/123329/1 "2023-12-19T04:30:01Z")

</div>

I’m using the Authentication API Debugger extension to generate a bearer token so that I can test my APIs locally.

I’m using a password/email login. Here is the configuration:

 ![image](https://global.discourse-cdn.com/auth0/original/3X/e/1/e1c968c523e90cff16753580e5bdbb8b0c7a107c.png)

Now here’s the OAuth2 / OIDC tab where I click “OAUTH2 / OIDC LOGIN”:  
 ![image](https://global.discourse-cdn.com/auth0/original/3X/a/3/a34b596ca59d21cc0706a5cb50bb687ca1ed73e7.png)

This takes me to the domain to login with my database user, which I do.

Then I see this:

 ![image](https://global.discourse-cdn.com/auth0/original/3X/3/8/38aaf51e8fabd8c756cd2a45bd04bf460af1be78.png)

Now when I check the token in [jwt.io](http://jwt.io), it says Invalid Signature and it won’t load properly. When I try sending it in an API request to my app, it says invalid token.

---

<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:** [December 19, 2023, 9:17pm UTC](https://community.auth0.com/t/authentication-api-debugger-returning-null-access-token/123329/3 "2023-12-19T21:17:29Z")

</div>

Hello @latomaine welcome to the community!

Thanks for the detailed description.

> [@latomaine](#):
>
> Now when I check the token in [jwt.io](http://jwt.io), it says Invalid Signature and it won’t load properly. When I try sending it in an API request to my app, it says invalid token.

Are you including an audience in the config and subsequently request?

 ![Screenshot 2023-12-19 at 1.15.17 PM](https://global.discourse-cdn.com/auth0/original/3X/b/4/b42fc1630ca15ea9d2351f9dcffe7ecf1d17c9e8.png)  
My guess is you are getting back an [opaque token](https://auth0.com/docs/secure/tokens/access-tokens#opaque-access-tokens) - You’ll need to include an [audience param](https://community.auth0.com/t/what-is-the-audience/71414) in order to get back a JWT access token.

---

<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:** [January 2, 2024, 9:18pm UTC](https://community.auth0.com/t/authentication-api-debugger-returning-null-access-token/123329/4 "2024-01-02T21:18:15Z")

</div>

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