Visitar URL original
fix: Fix Shared SQL/Snowflake registry crashes on cross-project UDF deserialization by ntkathole · Pull Request #6427 · feast-dev/feast · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: PyJWT 2.10+ added validation that rejects empty HMAC keys
Signed-off-by: ntkathole <nikhilkathole2683@gmail.com>
  • Loading branch information
ntkathole committed May 22, 2026
commit f1cb1c8ebb45e63c76184c3093a2a1b1436e6bae
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ def get_token(self):
f"No Auth client manager implemented for the auth type:{self.auth_config.type}"
)

return jwt.encode(payload, "")
return jwt.encode(payload, "", algorithm="none")
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def get_token(self):
"sub": f":::{intra_communication_base64}", # Subject claim
}

return jwt.encode(payload, "")
return jwt.encode(payload, "", algorithm="none")

# Check if user token is provided in config (for external users)
if hasattr(self.auth_config, "user_token") and self.auth_config.user_token:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def get_token(self):
payload = {
"preferred_username": f"{intra_communication_base64}",
}
return jwt.encode(payload, "")
return jwt.encode(payload, "", algorithm="none")

if self.auth_config.token:
return self.auth_config.token
Expand Down
Loading