title: Best way to change a users password with AWS Cognito Hosted UI?
body: <p>We use AWS Cognito with the Host UI for login and signup.</p>
  <p>We require a user to be able to change their password.</p>
  <p>There is an auth flow state in Cognito called <code>FORCE_CHANGE_PASSWORD</code>. When the user is in this state, upon successful login via Hosted UI, the user is then instructed to change their password before they continue.</p>
  <p>The issue is that we cant find a way to force a users state to be <code>FORCE_CHANGE_PASSWORD</code>. We are instead having to use AWS API to change a password.</p>
  <p>We chose the Hosted UI option because we wanted to offload auth responsibility from our app. Having to use the AWS API to change a password means we are now pulling in 'auth stuff' into our stack (auth forms, val, api services, testing, ongoing maintenance) which we want to avoid/minimise.</p>
  <p>Is there some way to set the users state to <code>FORCE_CHANGE_PASSWORD</code>? As this would keep everything in the Hosted UI, and solve our problem.</p>
  <p>We were hoping to find an api method like <code>adminSetUserState</code>??</p>