From 02ea4b31a28cf68a4a3f9a9abc745e3273ceee79 Mon Sep 17 00:00:00 2001 From: Andres Uribe Gonzalez Date: Tue, 24 Oct 2023 22:15:25 -0400 Subject: [PATCH] Do also authentication by default. --- dids/src/main/kotlin/web5/sdk/dids/DidIonManager.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dids/src/main/kotlin/web5/sdk/dids/DidIonManager.kt b/dids/src/main/kotlin/web5/sdk/dids/DidIonManager.kt index 5a80b2b98..360c02a0d 100644 --- a/dids/src/main/kotlin/web5/sdk/dids/DidIonManager.kt +++ b/dids/src/main/kotlin/web5/sdk/dids/DidIonManager.kt @@ -471,7 +471,7 @@ public sealed class DidIonManager( id = verificationMethodId, type = "JsonWebKey2020", publicKeyJwk = verificationJwk, - purposes = listOf(PublicKeyPurpose.ASSERTION_METHOD), + purposes = listOf(PublicKeyPurpose.AUTHENTICATION, PublicKeyPurpose.ASSERTION_METHOD), ), alias )