mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
add handshakeID as parameter in AuthenticationResponseJwtPayloadType
This commit is contained in:
parent
dcb5424419
commit
2dc3811edb
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user