You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Send data to create new user and pass a custom userID to the ID field of User struct
The user is created but not with the custom ID of the user but an auto-generated UUID.
Expected behavior
Since ID is provided in the User struct it should update the user_id but it does not.
Screenshots
Desktop (please complete the following information):
N.A.
Smartphone (please complete the following information):
N.A.
Additional context
I also found an article that says that keycloak does not allow custom userid, but since it was being accepted in the user struct of this library I tried to update it but doesn't look like it works.
The text was updated successfully, but these errors were encountered:
The library is a wrapper around the keycloak API.
The models used in Gocloak match the models provided in the Keycloak API Documentation.
Some (lots) of these models hold more fields, than used/filled by the Keycloak API.
I guess it would be a good idea for the future to clean them up a bit, to match what they actually do.
Describe the bug
The userID does not update even after passing ID in the user struct, here.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
Desktop (please complete the following information):
N.A.
Smartphone (please complete the following information):
N.A.
Additional context
I also found an article that says that keycloak does not allow custom userid, but since it was being accepted in the user struct of this library I tried to update it but doesn't look like it works.
The text was updated successfully, but these errors were encountered: