Turns out you can just use the SDK’s version, as initAuth0 is only for server side methods according to this issue:
initAuth0
So, closing