fn parse_access_token(body: &[u8]) -> Result<String, String>
Parses the token endpoint’s JSON, returning the access_token when the reply is a valid, unexpired grant (expires_in > 0, per Casdoor).
access_token
expires_in > 0