title: Is it possible to revoke AWS Cognito IdToken?
body: <p>Is it possible to revoke <code>AWS Cognito IdToken</code> got after user authentication with it's <code>username</code> and <code>password</code>? </p>
  
  <p>In my usecase the access to <code>API Gateway</code> endpoints is restricted by <code>Cognito User Pool Authorizer</code> which takes <code>IdToken</code> as an argument in <code>request.headers.Authorizer</code>. I am looking for way to block current user's <code>IdToken</code>.</p>
  
  <p>In <code>AWSJavaScriptSDK</code> is a function <code>globalSignOut({AccessToken})</code> which revokes the <code>accessToken</code>:
  <a href="http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CognitoIdentityServiceProvider.html#globalSignOut-property" rel="noreferrer">http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CognitoIdentityServiceProvider.html#globalSignOut-property</a></p>
  
  <p>Is it possible to revoke the <code>IdToken</code> the same or similar way?</p>
  
  <p><strong>For interested:</strong> I've created an issue on <code>aws-sdk-js</code>:
  <a href="https://github.com/aws/aws-sdk-js/issues/1687" rel="noreferrer">https://github.com/aws/aws-sdk-js/issues/1687</a></p>