mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-10 14:07:59 -05:00
[INJIMOB-2265] show client_id in VP sharing screen if client_name is not available in client_metadata as per the spec
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
This commit is contained in:
@@ -106,7 +106,10 @@ export function selectIsFaceVerifiedInVPSharing(state: State) {
|
||||
}
|
||||
|
||||
export function selectVerifierNameInVPSharing(state: State) {
|
||||
return state.context.authenticationResponse['client_metadata']?.name;
|
||||
return (
|
||||
state.context.authenticationResponse['client_metadata']?.['client_name'] ??
|
||||
state.context.authenticationResponse['client_id']
|
||||
);
|
||||
}
|
||||
|
||||
export function selectRequestedClaimsByVerifier(state: State) {
|
||||
|
||||
Reference in New Issue
Block a user