Skip to content

Commit ae284ed

Browse files
committed
Connector info should reflect this as well
1 parent bdf4a8d commit ae284ed

File tree

1 file changed

+2
-2
lines changed
  • astro/src/content/docs/lifecycle/migrate-users/connectors

1 file changed

+2
-2
lines changed

astro/src/content/docs/lifecycle/migrate-users/connectors/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,12 @@ The user will be placed into the same tenant as the application they are authent
6161

6262
If you are authenticating a user, you must provide the following fields in the user object you return.
6363

64-
* `user.username` or `user.email`
64+
* `user.username`, `user.email`, or `user.phoneNumber`
6565
* `user.id`: a FusionAuth compatible UUID
6666

6767
If you are using the generic connector, you are building the `user` object, so ensure these fields are in the JSON. If you are using the LDAP connector, make sure you set these fields in the configured LDAP Reconcile lambda.
6868

69-
In addition, ensure that the same `user.id` is returned each time a user is retrieved. If you have an LDAP attribute in the form of a UUID or a value that can be translated to a UUID, using that attribute or its translation is recommended. If you have to generate a UUID, ensure that you are able to return the same value each time the user authenticates. Doing so ensures that FusionAuth knows which user is being referenced, even if the username or email address changes.
69+
In addition, ensure that the same `user.id` is returned each time a user is retrieved. If you have an LDAP attribute in the form of a UUID or a value that can be translated to a UUID, using that attribute or its translation is recommended. If you have to generate a UUID, ensure that you are able to return the same value each time the user authenticates. Doing so ensures that FusionAuth knows which user is being referenced, even if the username, email address, or phone number changes.
7070

7171
### Suggested Fields
7272

0 commit comments

Comments
 (0)