title: unsupported response type in oauth
body: <p>Hi I am developing web application in Angular 2. I have oauth authentication in webapi. I am using Angular 2 in front end. On login I am calling below code. </p>
  
  <pre><code>   private login() {
          this.oauthService.initImplicitFlow();
          this.oauthService.loginUrl = "https://login.microsoftonline.com/d35ba220-6896666-4acc-9899-dc75131c4fba/oauth2/authorize?resource=\"https://graph.windows.net/ \"&amp; response_type=code";
          this.oauthService.redirectUri = "http://localhost:65298";
          this.oauthService.clientId = "&lt;MY_CLIENT_ID&gt;";
          this.oauthService.issuer = "https://login.microsoftonline.com/d35ba220-6749-4acc-578787-dc75131c4fba";
          this.oauthService.oidc = true;
          this.oauthService.setStorage(sessionStorage);
          this.oauthService.tryLogin({});
      }
  </code></pre>
  
  <p>I am getting below error.</p>
  
  <pre><code>http://localhost:65298/?error=unsupported_response_type&amp;error_description=AADSTS70005%3a+
  The+WS-Federation+sign-in+response+message+contains+an+unsupported+OAuth+parameter+value+in+the+encoded+wctx%3a+%27response_type%27%0d%0aTrace+ID%3a+65dc2592-4ba1-42f6-9f24-eba1c1894900%0d%0aCorrelation+ID%3a+6edaf003-3d26-434b-9b8a-88a267feb350%0d%0aTimestamp%3a+2018-01-17+09%3a09%3a39Z&amp;state=9MnA2eD68aZtOvHSodIjX9IqA1NdSjslrnGaFAlL
  </code></pre>
  
  <p>Can someone help me to fix this?</p>