Hey @dan.woda,
Yup I’ve already done that by adding the following right after the setUserMetadata
line:
console.log("[TEST] External User ID: " + results.external.user.id);
I can confirm that there is no issue with the results…external object and the condition is really being run through.