adding example implementation. basic auth works. oauth does not.