Request body for dynamic registration as defined by https://github.com/matrix-org/matrix-spec-proposals/pull/2966

interface OidcRegistrationRequestBody {
    application_type: "native" | "web";
    client_name?: string;
    client_uri: string;
    contacts?: string[];
    grant_types?: NonEmptyArray<string>;
    id_token_signed_response_alg?: string;
    logo_uri?: string;
    policy_uri?: string;
    redirect_uris?: NonEmptyArray<string>;
    response_types?: NonEmptyArray<string>;
    token_endpoint_auth_method: string;
    tos_uri?: string;
}

Properties

application_type: "native" | "web"
client_name?: string
client_uri: string
contacts?: string[]
grant_types?: NonEmptyArray<string>
id_token_signed_response_alg?: string
logo_uri?: string
policy_uri?: string
redirect_uris?: NonEmptyArray<string>
response_types?: NonEmptyArray<string>
token_endpoint_auth_method: string
tos_uri?: string