14.11.2016 - We've built authentication (for an API) from scratch in this article. In reality, you'll find that a solution like the one above doesn't quite work..