I have the same problem: I didn’t really understood where the confirmUser function should be executed from.
My best guess was to create a https endpoint with a function, and passing that endpoint address to my Email URL. However when i try to add realm as a dependency to the endpoint, i get the following error: