Skip to main content

extract_iss_from_token

Function extract_iss_from_token 

Source
pub fn extract_iss_from_token(token: &str) -> String
Expand description

Extract the iss claim from a JWT payload without signature verification. Exported for use in other middleware-like contexts (e.g. MCP inline auth). Returns an empty string on any parse failure.