-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
username in user registration is no use when registering a user #25
Comments
Hi @hantsy . Thanks for using FusionAuth! The username in the registration is for display purposes only. From the [registrations documentation[(https://fusionauth.io/docs/v1/tech/apis/registrations),
So this field lets you have users with different display names in different applications (mooreds in a forum, dan.moore in a support ticket system, etc). Hope that clears this up. I'm going to close out this issue. |
Currently I used What confused me it the user registration request spec contains this field, and I have set it, but it is not applied when calling |
Currently these fields are part of the request object spec, and they can be set freely, but did not work as expected. For each endpoints, every field of the request object should be affected if assigning a value. |
I'm not sure I understand the issue. Can you please share some code snippets? |
I see some code snippets above, but I'm not clear on which username is not stored if you uncomment |
So I just tried to replicate with this code:
And I was able to provide the username on the user object as well as on the registration object. I'm going to close this since I can't reproduce. Please re-open if you can provide replication steps or if I misunderstand the issue. |
I was trying to use
register
to add a new user.If I put the username in the
UserRegistration
, the result will not contain the username. I have to put it into the User object.Here
register
will affect the getRolesOfApplication.I really do not understand the APIs provided in the Java Client. I can not imagine a request object contains so many fields, but most of them are no use.
The text was updated successfully, but these errors were encountered: