From f2f83fdda1801e5acf84381158133e94ddf4b28f Mon Sep 17 00:00:00 2001 From: dawn Date: Sun, 11 Oct 2026 22:52:22 +0300 Subject: [PATCH] e2e: sign in with did on the pinned pds oauth provider Signed-off-by: dawn --- e2e/harness/signin.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e2e/harness/signin.ts b/e2e/harness/signin.ts index 934daa70f..689058b12 100644 --- a/e2e/harness/signin.ts +++ b/e2e/harness/signin.ts @@ -193,14 +193,14 @@ const authorize = async (account: Account, dpop: typeof fetch, challenge: string }); const signedIn = ok("the pds sign in", signingIn); jar.take(signingIn); - if (signedIn.account.sub !== account.did) - throw new Error(`${account.handle} signed in as ${signedIn.account.sub}`); + if (signedIn.account.did !== account.did) + throw new Error(`${account.handle} signed in as ${signedIn.account.did}`); const consent = await send( `${api}/consent`, "POST", asThePage({ authorization: `Bearer ${signedIn.ephemeralToken}` }), - { sub: account.did, scope: client.scope } + { did: account.did, scope: client.scope } ); jar.take(consent); // consent returns a url that only bounces the code on to the web's callback -- 2.54.0