Skip to content

Commit

Permalink
Verifier MEECO : wallet fails
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkbee1 committed May 29, 2024
1 parent 30b1637 commit f63c102
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions lib/dashboard/qr_code/qr_code_scan/cubit/qr_code_scan_cubit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -628,26 +628,6 @@ class QRCodeScanCubit extends Cubit<QRCodeScanState> {
}
}

final clientMetadata = state.uri!.queryParameters['client_metadata'];
if (clientMetadata != null) {
final clientMetadataMap =
jsonDecode(clientMetadata) as Map<String, dynamic>;
if (clientMetadataMap['subject_syntax_types_supported'] != null) {
final data = clientMetadataMap['subject_syntax_types_supported']
as List<dynamic>;
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'];
Expand Down

0 comments on commit f63c102

Please sign in to comment.