Closed crowar closed 1 year ago
Hi @crowar.
There is an existing method, CreateAndRetrieveUserIdAsync()
, that already does what you are trying to achieve, except it returns the userId directly to the caller. Is there a reason that this existing method does not work for you?
My main concern with your proposed change is that modifying the userId on the user object that was passed into the method is not very discoverable, i.e. people are unlikely to know that they need to check there for the userId.
Campbell
For some reason, I did not see this method. Thanks for the comment
… response from KeyCloak and getting the user ID