This is an example for a fully client side OAuth app that uses various APIs.