Skip to content

Commit d43de6f

Browse files
committed
Add new errors for passkey biometric policy mismatch and invalid passkey extension
1 parent 1d64572 commit d43de6f

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

MSAL/src/MSALErrorConverter.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ + (void)initialize
113113
@(MSIDErrorDeviceNotPSSORegistered) : @(MSALErrorDeviceNotPSSORegistered),
114114
@(MSIDErrorPSSOKeyIdMismatch) : @(MSALErrorPSSOKeyIdMismatch),
115115
@(MSIDErrorJITErrorHandlingConfigNotFound) : @(MSALErrorJITErrorHandlingConfigNotFound),
116+
@(MSIDErrorPSSOBiometricPolicyMismatch) : @(MSALErrorPSSOBiometricPolicyMismatch),
117+
@(MSIDErrorPSSOInvalidPasskeyExtension) : @(MSALErrorPSSOInvalidPasskeyExtension),
116118

117119
// Oauth2 errors
118120
@(MSIDErrorServerOauth) : @(MSALInternalErrorAuthorizationFailed),

MSAL/src/public/MSALError.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -525,4 +525,14 @@ typedef NS_ENUM(NSInteger, MSALInternalError)
525525
JIT - Error Handling config invalid or not found
526526
*/
527527
MSALErrorJITErrorHandlingConfigNotFound = -42738,
528+
529+
/**
530+
PSSO passkey - Biometric policy flag doesnt match with the loginConfig settings
531+
*/
532+
MSALErrorPSSOBiometricPolicyMismatch = -42739,
533+
534+
/**
535+
PSSO passkey - Invalid Passkey extension trying to access passkey
536+
*/
537+
MSALErrorPSSOInvalidPasskeyExtension = -42740,
528538
};

0 commit comments

Comments
 (0)