Skip to content
This repository was archived by the owner on Nov 27, 2025. It is now read-only.
This repository was archived by the owner on Nov 27, 2025. It is now read-only.

400 error with stale authentication #54

@tdudgeon

Description

@tdudgeon

Sometimes the portal app returns an error which requires the cookies to be cleared.
This seems to happen when the login session has been around for some time.
The error is:

image

Looking in the Tomcat logs you see:

18-Nov-2021 11:11:10.552 WARN [http-nio-8080-exec-1192] org.keycloak.adapters.OAuthRequestAuthenticator.checkStateCookie state parameter invalid
18-Nov-2021 11:11:10.552 WARN [http-nio-8080-exec-1192] org.keycloak.adapters.OAuthRequestAuthenticator.checkStateCookie cookie: 600d63f8-e28e-4a08-a31d-e5ee36dc3077
18-Nov-2021 11:11:10.552 WARN [http-nio-8080-exec-1192] org.keycloak.adapters.OAuthRequestAuthenticator.checkStateCookie queryParam: 0792c513-e891-48ee-a00b-98f3ca37ad0f

Need to look at why "state parameter invalid".

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions