title: OAuth2 in web application connecting to multiple REST services?
body: <p>How do I set up a web application with OAuth2 authentication, where the web application connects to two underlying REST services (through client-side JavaScript from the user's browser)?</p>
  
  <p>I am controlling all servers, and I need to make sure that nobody accesses the web application and the REST services without authentication.</p>
  
  <p>How should this be done?</p>
  
  <p>Should I configure all three servers (the web application and the two REST services) using a single application id?</p>
  
  <p>BTW:I plan to use IdentityServer4 as the authentication server.</p>
  
  <p>Best regards,
  Morten :-)</p>