I did a similar script but running in deno. Curiou...
# reading
v
I did a similar script but running in deno. Curiously, I have to set the createClient option
auth.persistSession: false
or it won't return with a session at all. Deno does have localStorage API so that confused me. Anyhow, thanks for writing that -- I need to make a bunch of CLI tools and this confirms how to do it. Also, deno never exits the script until you call
Deno.exit()
.