You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Sandor Molnar (Jira)" <ji...@apache.org> on 2021/06/11 04:49:00 UTC
[jira] [Work started] (KNOX-2621) Consolidate HTTP error codes in
JWT federation filter
[ https://issues.apache.org/jira/browse/KNOX-2621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on KNOX-2621 started by Sandor Molnar.
-------------------------------------------
> Consolidate HTTP error codes in JWT federation filter
> -----------------------------------------------------
>
> Key: KNOX-2621
> URL: https://issues.apache.org/jira/browse/KNOX-2621
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Affects Versions: 1.6.0
> Reporter: Sandor Molnar
> Assignee: Sandor Molnar
> Priority: Critical
>
> In {{org.apache.knox.gateway.provider.federation.jwt.filter.AbstractJWTFilter.validateToken(...)}} there are multiple validation takes place and Knox returns {{400/BAD_REQUEST}} in some places where {{401/UNAUTHORIZED}} sould have been used (for instance, when a token is expired).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)