Skip to content

Commit 6d16fd4

Browse files
committed
Revert "Add passkey registration support for WebView, Fixes AB#3385532 (AzureAD#2769)"
This reverts commit e447086.
1 parent 43cf249 commit 6d16fd4

15 files changed

Lines changed: 27 additions & 2065 deletions

File tree

common/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ android {
151151
}
152152

153153
dependencies {
154-
implementation "androidx.webkit:webkit:$rootProject.ext.webkitVersion"
155154
testImplementation project(path: ':testutils')
156155

157156
localApi(project(":common4j")) {
@@ -418,7 +417,7 @@ tasks.withType(GenerateMavenPom).all {
418417
}
419418
}
420419

421-
def dependenciesSizeInMb = project.hasProperty("dependenciesSizeMb") ? project.dependenciesSizeMb : "16"
420+
def dependenciesSizeInMb = project.hasProperty("dependenciesSizeMb") ? project.dependenciesSizeMb : "15"
422421
String configToCheck = project.hasProperty("dependenciesSizeCheckConfig") ? project.dependenciesSizeCheckConfig : "distReleaseRuntimeClasspath"
423422
tasks.register("dependenciesSizeCheck") {
424423
doLast() {

common/src/main/assets/js-bridge.js

Lines changed: 0 additions & 205 deletions
This file was deleted.

common/src/main/java/com/microsoft/identity/common/internal/fido/FidoChallengeField.kt

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,10 @@ data class FidoChallengeField<K>(private val field: FidoRequestField,
112112
@Throws(ClientException::class)
113113
fun throwIfInvalidProtocolVersion(field: FidoRequestField, value: String?): String {
114114
val version = throwIfInvalidRequiredParameter(field, value)
115-
if (FidoConstants.supportedPasskeyProtocolVersions.contains(version)) {
116-
return version
115+
if (version != FidoConstants.PASSKEY_PROTOCOL_VERSION) {
116+
throw ClientException(ClientException.PASSKEY_PROTOCOL_REQUEST_PARSING_ERROR, "Provided protocol version is not currently supported.")
117117
}
118-
throw ClientException(
119-
ClientException.PASSKEY_PROTOCOL_REQUEST_PARSING_ERROR,
120-
"Passkey protocol version '$version' is not supported. Supported versions: ${FidoConstants.supportedPasskeyProtocolVersions.joinToString()}"
121-
)
118+
return version
122119
}
123120

124121
/**

common/src/main/java/com/microsoft/identity/common/internal/providers/oauth2/CredentialManagerHandler.kt

Lines changed: 0 additions & 86 deletions
This file was deleted.

0 commit comments

Comments
 (0)