title: Integrate Laravel with AWS cognito
body: <p>I configured a AWS Cognito user pool few months ago &amp; connected it to node.js application, everything was perfect</p>
  
  <p>Now, I want to connect laravel to AWS Cognito, I followed the instructions in this <a href="https://blackbits.io/blog/laravel-authentication-with-aws-cognito" rel="nofollow noreferrer">article</a> </p>
  
  <p>I get the following error</p>
  
  <pre><code>Error executing "AdminInitiateAuth" on "https://cognito-idp.eu-west-1.amazonaws.com"; AWS HTTP error: Client error: `POST https://cognito-idp.eu-west-1.amazonaws.com` resulted in a `400 Bad Request` response:
  {"__type":"UnrecognizedClientException","message":"The security token included in the request is invalid."}
  UnrecognizedClientException (client): The security token included in the request is invalid. - {"__type":"UnrecognizedClientException","message":"The security token included in the request is invalid."}  
  </code></pre>
  
  <p>I'm every sure the credentials is correct, but I get this error.
  Is there any missing configuration in the article?</p>