title: How to use Amazon Cognito Logout endpoint?
body: <p>I am using AWS Cognito in my application. </p>
  
  <p>While doing logout i am calling the <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/logout-endpoint.html" rel="noreferrer">Logout Endpoint</a>.</p>
  
  <p>But after doing logout, I am still able to generate the id-tokens using the old refresh token.</p>
  
  <p>It means my logout endpoint is not working any more. I am saving the tokens in my local storage, And while doing the logout i am clearing the store manually.</p>
  
  <blockquote>
    <p>My Question is: How to properly use the logout mechanism of AWS
    Cognito?</p>
  </blockquote>