I was able to login by replacing undefined with localsats.org manually, lol. Feel like a hacker now haha:
$ node Welcome to Node.js v16.19.0. Type ".help" for more information. > const { bech32 } = require("bech32") undefined > const words = bech32.toWords(Buffer.from("https://localsats.org/api/auth/lnurl/do-login?k1=95e4563516c5308d2e9080806896c0e94c592a9f602dcd918dbec4692fb47abd&tag=login")) undefined > bech32.encode("lnurl", words, 1023) 'lnurl1dp68gurn8ghj7mr0vdskcumpw3ejummjvuhkzurf9ash2arg9akxuatjdshkgmedd3hkw6tw8a4nz0fex4jngdfkxv6nzdnrx5enqwryxfjnjvpcxqurqd3c8ymxxvr98y6xxdfexfsnje3kxqexgcmy8ycnserzv43ngd3exfnxydphv93xgfn5v9nn6mr0va5kucl4nq0'
Sneak peek: