diff --git a/server-openid4vci/src/main/java/com/android/identity/server/openid4vci/AuthorizeServlet.kt b/server-openid4vci/src/main/java/com/android/identity/server/openid4vci/AuthorizeServlet.kt index 49e06dcfd..34732cd9b 100644 --- a/server-openid4vci/src/main/java/com/android/identity/server/openid4vci/AuthorizeServlet.kt +++ b/server-openid4vci/src/main/java/com/android/identity/server/openid4vci/AuthorizeServlet.kt @@ -93,7 +93,6 @@ class AuthorizeServlet : BaseServlet() { override fun doPost(req: HttpServletRequest, resp: HttpServletResponse) { val code = req.getParameter("authorizationCode") val pidData = req.getParameter("pidData") - val extraInfo = req.getParameter("extraInfo") val id = codeToId(OpaqueIdType.AUTHORIZATION_STATE, code) val storage = environment.getInterface(Storage::class)!! val baseUri = URI(this.baseUrl) @@ -130,7 +129,6 @@ class AuthorizeServlet : BaseServlet() { } } - data.putEntry("com.android.identity.server.openid4vci", "extraInfo", Cbor.encode(Tstr(extraInfo))) state.credentialData = data.build() storage.update("IssuanceState", "", id, ByteString(state.toCbor())) } diff --git a/server/src/main/resources/resources/openid4vci/authorize.html b/server/src/main/resources/resources/openid4vci/authorize.html index 50bb9be1d..c935d82af 100644 --- a/server/src/main/resources/resources/openid4vci/authorize.html +++ b/server/src/main/resources/resources/openid4vci/authorize.html @@ -11,8 +11,6 @@