Single Page Applications are awesome. One downside is that static SPAs often
have to authenticate with some service or API in order to coordinate some
communication, access some data, or connect to other users, and that connection
has an inherent security risk:
How do you connect to a secure service