FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Login when the passwordChangeRequired field is true

    Scheduled Pinned Locked Moved
    Q&A
    login password rules
    0
    2
    1.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • danD
      dan
      last edited by

      Do you know what the user experience is supposed to look like when passwordChangeRequired is set to true during user creation via API?

      When they login for the first time, will they be prompted to enter a new password?

      I have tried and it is just showing that my credentials are invalid, without prompting me to change them.

      --
      FusionAuth - Auth for devs, built by devs.
      https://fusionauth.io

      1 Reply Last reply Reply Quote 0
      • danD
        dan
        last edited by

        If using the API, you should receive a 203 on Login once you attempt login with the correct password. Your application should check the status code and send the user to the appropriate place to change their password.

        If using the hosted login pages, you should end up on the /password/change page after logging in.

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        1 Reply Last reply Reply Quote 0
        • First post
          Last post