title: Resolve redirectUri error using msal javascript single page application (spa) quickstart
body: <p>I was getting an error trying to use the <a href="https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-v2-javascript" rel="nofollow noreferrer">MSAL Quickstart for a Javascript single-page application (SPA)</a> to sign in to Azure AD (Microsoft Identity Platform / msal) and then grab and use an access token from Microsoft Graph API.  I am using Visual Studio to launch the Quickstart in Chrome.  The error occurs after I am prompted to Sign In and enter my username:</p>
  
  <p>We're unable to complete your request
  invalid_request: The provided value for the input parameter 'redirect_uri' is not valid. The expected value is a URI which matches a redirect URI registered for this client application.</p>
  
  <p>This is what my msal config looks like:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>    var msalConfig = {
          auth: {
              clientId: "194461f0-3d74-49db-a6f0-c7aa07f25ac8",
              authority: "https://login.microsoftonline.com/common"
          },
          cache: {
              cacheLocation: "localStorage",
              storeAuthStateInCookie: true
          }
      };</code></pre>
  </div>
  </div>
  </p>
  
  <p>I verified that my settings in Azure Active Directory App Registrations are correct.  These settings were automatically set (and correctly, it appears) by the "Option 1 (Express)" step in the Quickstart.  Both the Implicit Flow settings and the redirectUri setttings are correct, when compared with the manual settings described in the Quickstart under "Option 2 (Manual)."</p>
  
  <p>Based on the error, I was pretty sure there's something missing in my client config around redirectUri.  </p>