Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ios/NativeBridge.swift
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ extension WebAuthError {
case .noAuthorizationCode: code = "NO_AUTHORIZATION_CODE"
case .pkceNotAllowed: code = "PKCE_NOT_ALLOWED"
case .idTokenValidationFailed: code = "ID_TOKEN_VALIDATION_FAILED"
case .other: if let cause = self.cause as? AuthenticationError {
case WebAuthError.other: if let cause = self.cause as? AuthenticationError {
code = cause.code
} else {
code = "OTHER"
Expand All @@ -490,8 +490,8 @@ extension DPoPError {
case .keychainOperationFailed: code = NativeBridge.dpopKeyStorageFailedCode
case .cryptoKitOperationFailed: code = NativeBridge.dpopProofFailedCode
case .secKeyOperationFailed: code = NativeBridge.dpopProofFailedCode
case .other: code = NativeBridge.dpopErrorCode
case .unknown: code = NativeBridge.dpopErrorCode
case DPoPError.other: code = NativeBridge.dpopErrorCode
case DPoPError.unknown: code = NativeBridge.dpopErrorCode
default:
code = NativeBridge.dpopErrorCode
}
Expand Down