a) when I pass kTSKSwizzleNetworkDelegates: or kTSKEnforcePinning as NO, then I am able to login to my app even though i pass wrong Public keys inside kTSKPublicKeyHashes.
My understanding is if i pass wrong public keys then URL should throw error.
b) When I pass kTSKSwizzleNetworkDelegates: or kTSKEnforcePinning as YES then even i pass correct public keys inside kTSKPublicKeyHashes. I am unable to login in app. it throws TRUSTKit validation error.
Hi,
a) when I pass kTSKSwizzleNetworkDelegates: or kTSKEnforcePinning as NO, then I am able to login to my app even though i pass wrong Public keys inside kTSKPublicKeyHashes. My understanding is if i pass wrong public keys then URL should throw error.
b) When I pass kTSKSwizzleNetworkDelegates: or kTSKEnforcePinning as YES then even i pass correct public keys inside kTSKPublicKeyHashes. I am unable to login in app. it throws TRUSTKit validation error.
Could you please guide me, how to fix it.