A sample illustrating the creation of resource "/oauth2/rest/approval" which is protected by Webgate.