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

    Best posts made by kejvidoko

    • RE: Custom Password Plugin fails to generate correct hash

      @dan I finally managed to find the fix, it was related to password expiry field being an expired date and the factor number had to be 1. Thanks a lot for your support.

      posted in Q&A
      K
      kejvidoko
    • RE: Custom Password Plugin fails to generate correct hash

      @dan Yes I am specifying the encryption schema during the user import. I am using python library to perform the import using import_users. This is how an object looks like on the import script.

                          template_request['users'].append({
                              'sendSetPasswordEmail': False,
                              'skipVerification': True,
                              "active": True,
                              "birthDate": user.birthdate,
                              "data": {
                                  "displayName": user.first_name + " " + user.last_name
                              },
                              "email": user.email,
                              "encryptionScheme": "gyo-password-encryptor",
                              "expiry": 1571786483322,
                              "factor": 24000,
                              "firstName": user.first_name,
                              "fullName": user.first_name + " " + user.middle_name + " " + user.last_name,
                              "imageUrl": "http://65.media.tumblr.com/tumblr_l7dbl0MHbU1qz50x3o1_500.png",
                              "insertInstant": 1331449200000,
                              "lastName": user.last_name,
                              "middleName": user.middle_name,
                              "password": user.password,
                              "passwordChangeRequired": False,
                              "preferredLanguages": [
                                  "en"
                              ],
                              "salt": user.salt,
                              "timezone": "America/Denver",
                              "twoFactorEnabled": False,
                              "usernameStatus": "ACTIVE",
                              "username": user.username,
                              "verified": True
                          })
      

      The user object is the data that I am getting from the source database that I am trying to import on fusion auth. I am sure that the password plugin is specified correctly since I can see the custom logs that I have added on password plugin.

      posted in Q&A
      K
      kejvidoko