IO Wallet SDK
    Preparing search index...

    Function fetchPushedAuthorizationResponse

    • Sends a pushed authorization request to the authorization server and returns the response.

      Supports both signed (JAR) and unsigned PAR variants as produced by createPushedAuthorizationRequest. The form body is built automatically:

      • Signed: posts { client_id, request }.
      • Unsigned: posts every field from authorizationRequest as flat form parameters, with object/array values (e.g. authorization_details) JSON-serialised.

      Parameters

      Returns Promise<{ expires_in: number; request_uri: string; [key: string]: unknown }>

      Promise that resolves to the parsed pushed authorization response containing request_uri and expires_in

      When the server returns a non-201 status code

      When the response cannot be parsed or is invalid