FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. Tags
    3. user
    Log in to post
    • All categories
    • danD

      How can I see which fields are indexed?

      Q&A
      • user elasticsearch • • dan
      2
      0
      Votes
      2
      Posts
      3.6k
      Views

      danD

      We currently don't document these. Probably should; I'll put it on the list.

      Until then, you can find the indexed fields by querying elasticsearch:

      curl -XGET http://elasticsearchhost:port/fusionauth_user/_mapping

      This will return something like the below JSON. This will vary based on your FusionAuth installation, however:

      "fusionauth_user": { "mappings": { "_source": { "enabled": false }, "properties": { "active": { "type": "boolean" }, "birthDate": { "type": "date" }, "breachedPasswordLastCheckedInstant": { "type": "long" }, "breachedPasswordStatus": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "data": { }, "email": { "type": "text", "analyzer": "exact_lower", "fielddata": true }, "fullName": { "type": "text", "fielddata": true }, "id": { "type": "keyword" }, "insertInstant": { "type": "date" }, "lastLoginInstant": { "type": "date" }, "lastUpdateInstant": { "type": "date" }, "login": { "type": "keyword" }, "memberships": { "type": "nested", "include_in_parent": true, "properties": { "data": { "type": "object" }, "groupId": { "type": "keyword" }, "id": { "type": "keyword" }, "insertInstant": { "type": "date" }, "userId": { "type": "keyword" } } }, "mobilePhone": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "preferredLanguages": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "registrations": { "type": "nested", "include_in_parent": true, "properties": { "applicationId": { "type": "keyword" }, "authenticationToken": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "data": { }, "id": { "type": "keyword" }, "insertInstant": { "type": "date" }, "lastLoginInstant": { "type": "date" }, "lastUpdateInstant": { "type": "date" }, "preferredLanguages": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "roles": { "type": "keyword" }, "tokens": { "properties": { "5ccff761-f809-49c7-a58c-27a3cb9ab650": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "84ef0274-70db-44da-8762-aa6bcfbd2981": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "Google": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } } } }, "username": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "usernameStatus": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "verified": { "type": "boolean" } } }, "tenantId": { "type": "keyword" }, "timezone": { "type": "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } }, "username": { "type": "text", "fielddata": true }, "verified": { "type": "boolean" } } } } }
    • danD

      How can I disable a user without deleting them?

      Q&A
      • user disable • • dan
      2
      0
      Votes
      2
      Posts
      1.2k
      Views

      danD

      You can use a 'soft delete'.

      Whenever you delete a user with the API without using hardDelete=true, the user is not able to login, but will still be visible in the API and the management UI.

      See https://fusionauth.io/docs/v1/tech/apis/users/#delete-a-user for more.

    • danD

      What is the forgot password flow if the user doesn't exist

      Q&A
      • forgot password user • • dan
      3
      0
      Votes
      3
      Posts
      2.8k
      Views

      V

      what about the password start event? will webhook receive a event for a user who does not exist in fusion auth?

      This will be good feature especially if slow migration is used for migrating users

    • danD

      Patching the user object with the java client?

      Q&A
      • patch user java client • • dan
      2
      0
      Votes
      2
      Posts
      1.2k
      Views

      danD

      I see patchUser here:

      https://github.com/FusionAuth/fusionauth-java-client/blob/1.19.0/src/main/java/io/fusionauth/client/FusionAuthClient.java#L1664

      I think that's what you want.

      You can, however, always full retrieval and a put as a workaround. That is recommended if you are changing an array, unless you want the behavior documented here: https://github.com/FusionAuth/fusionauth-issues/issues/441

    • danD

      Can you register a user to an application at the same time as you create them

      Q&A
      • registration user api • • dan
      2
      0
      Votes
      2
      Posts
      2.7k
      Views

      danD

      Is this what you are looking for?: https://fusionauth.io/docs/v1/tech/apis/registrations#create-a-user-and-registration-combined

      That API does return a token as of v1.17.0.

    • danD

      User expiration

      Q&A
      • user expiration user-api • • dan
      2
      0
      Votes
      2
      Posts
      3.8k
      Views

      danD

      It means the user won't be able to login.

    • N

      Trouble getting the user object post login

      Q&A
      • login python sessions user • • nishant
      16
      0
      Votes
      16
      Posts
      12.1k
      Views

      A

      @dan Thank you for your support. Fixing the signature just saved me another couple of hours (also coming from https://fusionauth.io/blog/2020/07/14/django-and-oauth/) ^^

    • A

      Multiple Admins

      Q&A
      • admin ui user user management • • ashok
      3
      0
      Votes
      3
      Posts
      7.3k
      Views

      A

      I totally forgot to add the register the user manually to the FusionAuth application. It is working now, thank you!

    • danD

      Solved Does FusionAuth require that you migrate your userstore into the product?

      Q&A
      • user database external • • dan
      5
      0
      Votes
      5
      Posts
      4.9k
      Views

      B

      @dan no problem at all. Completely understand it's tough offering support without reviewing how we have things setup.

      Appreciate you shooting that link over and will do some investigation on our end to see what might work best for us.

      Thanks!

    • danD

      Can I query a user on their user data?

      Q&A
      • user user-data search query faq • • dan
      4
      0
      Votes
      4
      Posts
      8.5k
      Views

      danD

      @le-nnyburkdoll

      This guide might be helpful to you: https://fusionauth.io/docs/v1/tech/guides/user-search-with-elasticsearch

      Thanks,
      Dan

    • danD

      Can we search on userId?

      Q&A
      • faq user search admin ui • • dan
      2
      0
      Votes
      2
      Posts
      5.6k
      Views

      danD

      You can search on the user id. While it doesn't say that in the placeholder, it works.

    • danD

      Each user has one password, correct?

      Q&A
      • user faq • • dan
      2
      0
      Votes
      2
      Posts
      7.6k
      Views

      danD

      That is correct. Each user can have one email address, one username, or both. Either of these values can be used to login, and therefore the values are unique within the tenant.

      We do have a username field on a registration, but it is not used for login.

      There's a github issue open for multiple identities: https://github.com/fusionauth/fusionauth-issues/issues/1

    • danD

      Is there an api to force a reindex of the users?

      Q&A
      • user search reindex • • dan
      3
      0
      Votes
      3
      Posts
      6.2k
      Views

      M

      Hello
      It depends on the specific system or platform you are using. You may need to consult its documentation or support resources.

    • danD

      Solved Can you move users from one tenant to another?

      Q&A
      • user import tenant faq • • dan
      7
      0
      Votes
      7
      Posts
      27.0k
      Views

      danD

      Another option that works as of today is to set up a tenant to tenant connector.

      Add a connector to the new tenant. Point it at the /api/login endpoint of the old tenant, including an API key as a header.

      Change your app to send everyone to a new application in the new tenant.

      When the user logs in to the new application, if it is the first time they've been seen, the old tenant data, including password, will be queried. The password hash will be transparently migrated to the new tenant.

      This slow migration takes time, but is another option.

    • danD

      Seeing userState of AuthenticatedNotRegistered

      Q&A
      • from-slack oauth user faq • • dan
      2
      0
      Votes
      2
      Posts
      8.8k
      Views

      danD

      That message means the user is not registered for the application you’re logging into. If you create a registration for the user you’ll see Authenticated.

      More on this here: https://fusionauth.io/community/forum/topic/5/can-you-limit-a-user-s-login-authentication-access-to-applications-within-a-single-tenant/2