Simple example of authentication on the client using OAuth 2.0