Skip to content

Commit

Permalink
proposed fix for e2e-test-issuance
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeplotean committed Mar 6, 2024
1 parent f450b7b commit c0092f8
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import id.walt.oid4vc.responses.TokenResponse
import id.walt.oid4vc.util.randomUUID
import id.walt.webwallet.manifest.extractor.EntraManifestExtractor
import id.walt.webwallet.service.oidc4vc.TestCredentialWallet
import id.walt.webwallet.utils.WalletHttpClients
import io.ktor.client.*
import io.ktor.client.call.*
import io.ktor.client.engine.cio.*
Expand All @@ -32,12 +33,7 @@ import kotlinx.serialization.json.jsonPrimitive
import org.slf4j.LoggerFactory

object IssuanceService {
private val http = HttpClient(CIO) {
install(ContentNegotiation) {
json()
}
followRedirects = false
}
private val http = WalletHttpClients.getHttpClient()
private val logger = LoggerFactory.getLogger(this::class.java)

suspend fun useOfferRequest(
Expand Down

0 comments on commit c0092f8

Please sign in to comment.