Skip to content

Commit

Permalink
feat: OIDC4VP - Give priority to client id #2557
Browse files Browse the repository at this point in the history
  • Loading branch information
bibash28 committed Apr 3, 2024
1 parent 223647b commit 73c3f0a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/app/shared/helper_functions/helper_functions.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1042,6 +1042,11 @@ Future<String> getHost({
).host;
} else {
/// verification case
final clientId = uri.queryParameters['client_id'];

if (clientId != null) {
return clientId;
}

final String? requestUri = uri.queryParameters['request_uri'];

Expand Down

0 comments on commit 73c3f0a

Please sign in to comment.