mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
changed log-output
This commit is contained in:
parent
45c473aeec
commit
8d8d5275de
@ -23,7 +23,7 @@ export async function startCommunityAuthentication(
|
||||
logger.debug(
|
||||
'Authentication: started for foreignFedCom:',
|
||||
foreignFedCom.endPoint,
|
||||
stringToHex(foreignFedCom.publicKey.toString()),
|
||||
foreignFedCom.publicKey.toString('hex'),
|
||||
)
|
||||
// check if communityUuid is a valid v4Uuid and not still a temporary onetimecode
|
||||
if (
|
||||
@ -43,6 +43,11 @@ export async function startCommunityAuthentication(
|
||||
args.url = homeFedCom.endPoint.endsWith('/')
|
||||
? homeFedCom.endPoint
|
||||
: homeFedCom.endPoint + '/' + homeFedCom.apiVersion
|
||||
logger.debug(
|
||||
'Authentication: before client.openConnection() args:',
|
||||
args.publicKey,
|
||||
args.url,
|
||||
)
|
||||
if (await client.openConnection(args)) {
|
||||
logger.info(`Authentication: successful initiated at community:`, foreignFedCom.endPoint)
|
||||
} else {
|
||||
|
||||
@ -21,6 +21,7 @@ export class AuthenticationResolver {
|
||||
): Promise<boolean> {
|
||||
logger.debug(
|
||||
`Authentication: openConnection() via apiVersion=1_0 ...`,
|
||||
args,
|
||||
args.url,
|
||||
stringToHex(args.publicKey),
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user