diff --git a/swift-sdk/AuthFailureReason.swift b/swift-sdk/AuthFailureReason.swift index 947c7d82a..dd4cff85c 100644 --- a/swift-sdk/AuthFailureReason.swift +++ b/swift-sdk/AuthFailureReason.swift @@ -19,5 +19,4 @@ import Foundation case authTokenNull case authTokenGenerationError case authTokenMissing - case authTokenInvalid } diff --git a/swift-sdk/Internal/RequestProcessorUtil.swift b/swift-sdk/Internal/RequestProcessorUtil.swift index cf1117bf2..b5c0d3311 100644 --- a/swift-sdk/Internal/RequestProcessorUtil.swift +++ b/swift-sdk/Internal/RequestProcessorUtil.swift @@ -99,7 +99,7 @@ struct RequestProcessorUtil { case "jwt authorization header is not set": return .authTokenMissing default: - return .authTokenInvalid + return .authTokenGenericError } }