https://github.com/oracle/node-oracledb/blob/afb9f696ca7dbdd72150ba5efdc94f3ebffb4133/lib/thin/protocol/messages/auth.js#L184C1-L188C53
There is a little bug.
buf.writeKeyValue("AUTH_TERMINAL", "unknown");
should be:
buf.writeKeyValue("AUTH_TERMINAL",cInfo.terminal);
Best regards.