gotemp
gotemp copied to clipboard
user registration needs its own endpoint
Currently the user registration shares the same end point with the regular user save when saving the data. However that means that the user save does not check for a token. That in turn causes the user service to not send new user record to the audit service since the audit service gets uses the token to identify which user performed the action. While there are multiple ways to fix this, the cleanest is to have a separate user service end point that handles anonymous registration separately