From 2dc3811edb88e0d093e1dc1916995cee65ecc750 Mon Sep 17 00:00:00 2001
From: clauspeterhuebner
Date: Fri, 11 Jul 2025 19:16:08 +0200
Subject: [PATCH] add handshakeID as parameter in
AuthenticationResponseJwtPayloadType
---
.../src/graphql/api/1_0/resolver/AuthenticationResolver.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/federation/src/graphql/api/1_0/resolver/AuthenticationResolver.ts b/federation/src/graphql/api/1_0/resolver/AuthenticationResolver.ts
index 234727dcc..79c933e31 100644
--- a/federation/src/graphql/api/1_0/resolver/AuthenticationResolver.ts
+++ b/federation/src/graphql/api/1_0/resolver/AuthenticationResolver.ts
@@ -119,7 +119,7 @@ export class AuthenticationResolver {
logger.debug('store authCom.uuid successfully:', new CommunityLoggingView(authCom))
const homeComB = await getHomeCommunity()
if (homeComB?.communityUuid) {
- const responseArgs = new AuthenticationResponseJwtPayloadType(homeComB.communityUuid)
+ const responseArgs = new AuthenticationResponseJwtPayloadType(args.handshakeID,homeComB.communityUuid)
const responseJwt = await encryptAndSign(responseArgs, homeComB.privateJwtKey!, authCom.publicJwtKey!)
logger.removeContext('handshakeID')
return responseJwt