title: Amplify Auth SignUp auto send another request and throw Error: No credentials, applicationId or region
body: <p>I have 2 projects which are using the same code like this:</p>
  
  <pre><code>Auth.signUp({ username, password, attributes })
    .then(data =&gt; console.log(data))
    .catch(error =&gt; console.log(error))
    .finally(() =&gt; console.log('done'));
  </code></pre>
  
  <p>Just like this: <a href="https://aws-amplify.github.io/docs/js/authentication#sign-up" rel="nofollow noreferrer">https://aws-amplify.github.io/docs/js/authentication#sign-up</a></p>
  
  <p>Here is the problem show out:</p>
  
  <ul>
  <li><p>In my old project, everything is ok, just 1 request is sign up send to AWS and got some data from it: <a href="https://cognito-idp.ap-southeast-2.amazonaws.com/" rel="nofollow noreferrer">https://cognito-idp.ap-southeast-2.amazonaws.com/</a></p></li>
  <li><p>In my new project, I have another request go to AWS after the sign up request. There are:
  <a href="https://cognito-idp.ap-southeast-2.amazonaws.com/" rel="nofollow noreferrer">https://cognito-idp.ap-southeast-2.amazonaws.com/</a>
  And : <a href="https://cognito-identity.ap-southeast-2.amazonaws.com/" rel="nofollow noreferrer">https://cognito-identity.ap-southeast-2.amazonaws.com/</a> which is after the first one and its response is :
  message: "Unauthenticated access is not supported for this identity pool."
  __type: "NotAuthorizedException"</p></li>
  </ul>
  
  <p>After that, I got the error in console: Error: No credentials, applicationId or region.</p>
  
  <p>Not sure why is the old project is working fine but with this one, this error show up. Is it because the different in amplify ?</p>
  
  <p>Thanks.</p>