From f63c1022591e3f7389e36860178ef8cb22099d99 Mon Sep 17 00:00:00 2001 From: hawkbee1 Date: Wed, 29 May 2024 15:21:30 +0000 Subject: [PATCH] Verifier MEECO : wallet fails #2674 --- .../cubit/qr_code_scan_cubit.dart | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/lib/dashboard/qr_code/qr_code_scan/cubit/qr_code_scan_cubit.dart b/lib/dashboard/qr_code/qr_code_scan/cubit/qr_code_scan_cubit.dart index dd2731a86..e9df2d911 100644 --- a/lib/dashboard/qr_code/qr_code_scan/cubit/qr_code_scan_cubit.dart +++ b/lib/dashboard/qr_code/qr_code_scan/cubit/qr_code_scan_cubit.dart @@ -628,26 +628,6 @@ class QRCodeScanCubit extends Cubit { } } - final clientMetadata = state.uri!.queryParameters['client_metadata']; - if (clientMetadata != null) { - final clientMetadataMap = - jsonDecode(clientMetadata) as Map; - if (clientMetadataMap['subject_syntax_types_supported'] != null) { - final data = clientMetadataMap['subject_syntax_types_supported'] - as List; - if (!data.contains('did:key')) { - if (isSecurityHigh) { - throw ResponseMessage( - data: { - 'error': 'unsupported_response_type', - 'error_description': - 'The subject syntax type is not supported.', - }, - ); - } - } - } - } final redirectUri = state.uri!.queryParameters['redirect_uri']; final responseUri = state.uri!.queryParameters['response_uri'];