# Invalid Jwt access Token

**URL:** <https://community.auth0.com/t/invalid-jwt-access-token/196783>\
**Category:** Get Help\
**Tags:** regular-database-connections, connections\
**Created:** [February 1, 2026, 8:28am UTC](https://community.auth0.com/t/invalid-jwt-access-token/196783 "2026-02-01T08:28:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![doaa.farouk07](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/doaa.farouk07/32/61886_2.png) [@doaa.farouk07](https://community.auth0.com/u/doaa.farouk07)\
**Post date:** [February 1, 2026, 8:28am UTC](https://community.auth0.com/t/invalid-jwt-access-token/196783/1 "2026-02-01T08:28:47Z")

</div>

Dears,

I can get the access token from the api /oauth/token

using correct grant-type, issuer, client-id, client-secret.

However when i call any api in my java Spring boot application, i got invalid token.

I’ve configured the java application with the correct audience and issuer url, and it was working before. Suddenly, now i receive invalid token error.

Please find the java configurations:

```auto
okta:
  oauth2:
    # Replace with the domain of your Auth0 tenant.
    issuer: ${OKTA_OAUTH2_ISSUER}
    # Replace with the API Identifier for your Auth0 API.
    audience: ${OKTA_AUD}

```

Also the error logs out of java application:

2026-02-01T10:28:07.975+02:00 DEBUG 4990 — [app] [nio-9092-exec-8] o.s.security.web.FilterChainProxy : Securing POST /users/user/followers  
2026-02-01T10:28:08.009+02:00 DEBUG 4990 — [app] [nio-9092-exec-8] o.s.s.o.s.r.a.JwtAuthenticationProvider : Failed to authenticate since the JWT was invalid

Please help

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [February 4, 2026, 5:44pm UTC](https://community.auth0.com/t/invalid-jwt-access-token/196783/3 "2026-02-04T17:44:03Z")

</div>

Hi @doaa.farouk07

I am sorry about the delayed response. Can you confirm that in your API call to the `/oauth/token` endpoint you are using the correct issuer and audience?

The only causes for an invalid token error would be that an audience or issuer was not correctly provided and your application receives an opaque token which it cannot decode.

I would recommend checking your `application.yml` file to check if these are correct there as well.

Kind Regards,  
Nik

---

<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:** [February 18, 2026, 5:44pm UTC](https://community.auth0.com/t/invalid-jwt-access-token/196783/4 "2026-02-18T17:44:39Z")

</div>

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