You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by GitBox <gi...@apache.org> on 2026/08/17 14:19:11 UTC

[GH] (ofbiz-framework/OFBIZ-13493): Workflow run "Java CI with Gradle" failed!

The GitHub Actions job "Java CI with Gradle" on ofbiz-framework.git/OFBIZ-13493 has failed.
Run started by GitHub user mridulpathak (triggered by mridulpathak).

Head commit for run:
1e8ce3286928e0578589d07902172a4a17450898 / Mridul Pathak <mr...@hotwaxsystems.com>
Fixed: JWT refresh tokens no longer accepted as access tokens (OFBIZ-13493)

createRefreshToken() signs refresh tokens with the same key as access tokens
and a much longer expiration, but validateToken() never checked the "type"
claim, so checkJWTLogin(), TokenFilter, and the REST API's APIAuthFilter all
accepted a refresh token directly as a valid Bearer access credential.
JWTManager.validateAccessToken() now rejects tokens with type: "refresh",
and all three call sites use it instead of validateToken() directly.

Report URL: https://github.com/apache/ofbiz-framework/actions/runs/32034694101

With regards,
GitHub Actions via GitBox