Skip to main content

parse_par_response

Function parse_par_response 

Source
pub fn parse_par_response(body: &Value) -> Result<ParResponse>
Expand description

Validate a PAR response before building an authorize URL from it.

Without this, a missing request_uri produces an authorize URL containing the string undefined and the failure surfaces at the authorization server rather than here.