Integrate Auth0 with Wix Members: Complete Guide

Hi,
Thank you for this guide.
I feel like I am missing something though.
Do I need to change the way auth0Id is being generated for it to work?
Currently with the custom code, on load, 2 POST requests are sent to the API (http-functions), one with the user information and one with the token.
The issue is that they are sent with a null auth0Id so a resource that does not have any subscriber.
The auth0Id is only set once the masterPage code is executed and once it is there is no API call anymore.