zowe / zowe/api-layer

When logging into APIML with an expired apiml token it throws a 400 to the user

Open
#4,618 3 comments 0 reactions 1 assignee View on GitHub

@balhar-jakub is already working on this.

Since May 13, 2026.

bug clarification
Dominant language
Java
Stars
92
Forks
81
Avg merge
1d 9h
Merged PRs (30d)
46

Description

Describe the bug
Log into APIML and go home over the weekend - the apiml token expires !
Come back in on Monday and can log into the gateway and get a 400

Image

Looking at the Zowe logs it is because the apimlAuthenticationToken JWT has expired

2026-05-11 09:18:54.723 <ZWEAGW1:reactor-http-nio-3:33557110> ZWESVUSR DEBUG ((o.z.a.g.l.DeterministicLoadBalancer)) Exception when trying to parse the JWT token eyJ0eXAiOiJKV1QC.......8mugPBQh2t93LKpwFM: JWT Token is expired

I can log into a private browser and/or delete the apimlAuthenticationToken

Expected behavior
I'd like the APIML to detect the expired token and delete the cookie data and allow me to log back in again

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.