fix oauth2 example
improve documentation of oauth2