add setOAuthdURL to window.location.origin to make try auth works.