Comment

Comment by _sdegutis

EDIT: I misunderstood what was meant by minting tokens, my entire comment is pointless. Save yourself the time.

What's the headache about minting tokens? You create a new uuid() on the server, store it in the DB in its own table which has references to accounts, keep an isValid field next to it for server-side invalidation, and store it in localStorage in the client. Is there a security flaw or something in this?

parent _sdegutis 8 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton