• Martin Holst Swende's avatar
    cmd/geth, node, rpc: implement jwt tokens (#24364) · 4860e50e
    Martin Holst Swende authored
    * rpc, node: refactor request validation and add jwt validation
    
    * node, rpc: fix error message, ignore engine api in RegisterAPIs
    
    * node: make authenticated port configurable
    
    * eth/catalyst: enable unauthenticated version of engine api
    
    * node: rework obtainjwtsecret (backport later)
    
    * cmd/geth: added auth port flag
    
    * node: happy lint, happy life
    
    * node: refactor authenticated api
    
    Modifies the authentication mechanism to use default values
    
    * node: trim spaces and newline away from secret
    Co-authored-by: 's avatarMarius van der Wijden <m.vanderwijden@live.de>
    4860e50e
jwt_handler.go 2.58 KB