Example application for oauth2