My public AppStudio app needs to allow new users to create a new Community Account in ArcGis Hub. When doing this in the UI, the following rest API displays a dialog to do this:
https://globalche.maps.arcgis.com/sharing/rest/oauth2/signup?client_id=QVuTzZ3CvcgTPNC9&response_typ...
How can this be done programmatically in an AppStudio qml app? Is there a qml or javascript API for this? Is this rest API documented somewhere? I can't find anything at https://developers.arcgis.com/rest/users-groups-and-items/oauth2-root.htm.