Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[management] log jwt error in warning, not error #2121

Closed
NicolasGeraud opened this issue Apr 5, 2019 · 0 comments

Comments

@NicolasGeraud
Copy link
Member

commented Apr 5, 2019

all jwt validation exceptions generate error logs: https://github.com/gravitee-io/gravitee-management-rest-api/blob/a7905bd9d111cf3b5c727c3c89210b8ba88d02c2/gravitee-management-api-security/src/main/java/io/gravitee/management/security/filter/JWTAuthenticationFilter.java#L108

The common expiration error throw an error log and can pollute the log file.

Expected Behavior

Log this in WARNING level

@NicolasGeraud NicolasGeraud self-assigned this Apr 5, 2019

@NicolasGeraud NicolasGeraud added this to the APIM - 1.20.17 milestone May 17, 2019

NicolasGeraud added a commit to gravitee-io/gravitee-management-rest-api that referenced this issue May 20, 2019

brasseld added a commit to gravitee-io/gravitee-management-rest-api that referenced this issue May 20, 2019

@brasseld brasseld closed this May 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.