There’s no two ways about it, Authentication is hard to do right. Fortunately, with the introduction of a new breed of Authentication-as-a-Service providers like Firebase and Auth0, you’re never going to have to worry about Authentication ever again.
Full article