FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. john.bantoto
    3. Posts
    J
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 3
    • Best 2
    • Controversial 0
    • Groups 0

    Posts made by john.bantoto

    • Does account lockout on failed authentication attempts only resets on password reset or after the action duration?

      Our account settings looks like:

      • Failed attempts: 10
      • Time period: 60s
      • Action duration: 15m

      Scenario:

      • Did 4 failed login attempts
      • 1 successful login attempt
      • Tried 5 failed login attempts -> Account is locked

      Can you clarify how the lockout works?

      • Is there a 60-second Window or persistent counter?
      • Does it not reset on successful login?
      posted in Q&A
      J
      john.bantoto
    • RE: changePassword returns 401

      @vinicius-campitelli thank you!

      posted in General Discussion
      J
      john.bantoto
    • changePassword returns 401

      I am using "@fusionauth/typescript-client": "^1.42.0" and tried to use the changePassword method.

      const fa = new FusionAuthClient(
        API_KEY,
        HOST,
        TENANT_ID
      );
      
      await fa.changePassword(undefined, {
        loginId: userEmail,
        password: "newPassword",
      });
      
      

      I always get a 401 response.

      I tried with a normal http request using axios and it's working so I think there is an issue with the changePassword method.

       await axiosInstance.post("/api/user/change-password", {
        loginId: user.email,
        password: newPassword,
      });
      

      I double checked the keys and even tried using the retrieveUser method which successfully returns the the user.

      The error response doesn't give much info. Does anyone have an idea on how to resolve?

      posted in General Discussion
      J
      john.bantoto