What You’ve Done So Far
Good work! User identity is one of the most common and fundamental aspects of any system, and even though you’re building this one with a very different architecture than what you’re likely used to, that hasn’t stopped you from getting users into your system. Hopefully a couple of things stand out here. The first is that there are portions of an asynchronous, event-based system that feel very familiar. Those parts are likely going to all be around reading data. It really isn’t any different. The second flows from the first—do you see how the idea of an “auth service” is a bit of a misnomer? Authentication is simple a query against View Data. Repeat the mantra “we don’t read data out of Components.”
Earlier we showed an ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access