Closed tomas-kulhanek closed 2 months ago
The problem seems to be this...
The consts are set here:
populated below into isConnect1
and isServiceAccount
Which means the following validation fails as it wants both OP_CONNECT_HOST
and OP_SERVICE_ACCOUNT_TOKEN
which is the opposite of the documentation?
I figure this should be an or operator instead?
if (!isConnect || !isServiceAccount) {
throw new Error(authErr);
}
Its working now
Whats wrong with this?
But all actions fall on this message
Authentication error with environment variables: you must set either 1) OP_SERVICE_ACCOUNT_TOKEN, or 2) both OP_CONNECT_HOST and OP_CONNECT_TOKEN.