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 2022/08/23 05:42:00 UTC

[jira] [Created] (KNOX-2794) Add cokkie auth support in JWT federation provider

Sandor Molnar created KNOX-2794:
-----------------------------------

             Summary: Add cokkie auth support in JWT federation provider
                 Key: KNOX-2794
                 URL: https://issues.apache.org/jira/browse/KNOX-2794
             Project: Apache Knox
          Issue Type: Sub-task
          Components: Server
            Reporter: Sandor Molnar
            Assignee: Sandor Molnar
             Fix For: 2.0.0


Knox has authentication federation providers to check either a cookie ({{{}SSOCookieFederationFilter{}}}) or an HTTP header ({{{}JWTFederationFilter{}}}) for a JWT. However, it cannot do both in the same filter currently.

We need to enhance the {{JWTFederationFilter}} to check first for a valid JWT in the {{hadoop-jwt}} cookie (cookie name should be configurable) or keep doing what it does today, use the {{Authorization}} HTTP header.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)