User Signups using 'invite codes' with Backend Workflows

I found a nice solution in this thread.

Looks like another alternative would be to do a full API call from inside my app to…also my app. So much complexity just to run a ‘secure’ workflow synchronously on the front end!