• AM is currently serializing RP as one of the following formats, depending on whether RP ID has been configured: "relyingPartyId":"" "relyingPartyId":"rpId: "foo"," This regex handles both formats, but should be removed once AM is fixed.

    Parameters

    • relyingPartyId: string

    Returns string