I had code like this on the server side in an event handler. That failed the second request. The issue was, that signUp apparently assumes the role of the user that just signed up and so in the second request I don't have enough permissions. Just something to be aware of and maybe add to the docs.
I had code like this on the server side in an event handler. That failed the second request. The issue was, that signUp apparently assumes the role of the user that just signed up and so in the second request I don't have enough permissions. Just something to be aware of and maybe add to the docs.
The fix is to call signout after signUp to revert back to the service role.