Skip to main content

pushed_authorization_request

Function pushed_authorization_request 

Source
pub async fn pushed_authorization_request(
    __arg0: State<ApiState>,
    __arg1: Form<PARRequest>,
) -> (StatusCode, Json<PARResponse>)
Expand description

Pushed Authorization Request endpoint (RFC 9126)

Clients push authorization request parameters to the server and receive a request_uri they can use at the authorization endpoint. The URI is unique per request and expires after 90 seconds (RFC 9126 ยง2.2).

Required form fields: response_type, client_id, redirect_uri Missing required fields are automatically rejected with 422 by Axum.