title: OAuth library for ReactJs
body: <p>I am working on ReactJS SPA. I am trying to find the library which I can use for OAuth2 from my React SPA to get the authorization code.
  I tried using auth0 libraries but auth0 libraries redirect to /authorize endpoint only and there is no way to configure it.
  Our company's authentication server's authorization endpoint is /as/authorization.
  Can someone please help which React library can be used?</p>