cd /testbed
git clone https://github.com/auth0/auth0-spa-js.git . && git checkout 7b41ee4200cd430e21f6692a98efec927be86f1b
npm ci
Throw Explicit errors on failure when bootstrapping
At the moment if wrong arguments are passed or for some reason, the authorization server fails to respond catastrophically the library will timeout and return an object.
It'd be better to throw an error when initializing with createAuth0Client and let the apple handle what it must do when AS is unavailable. This might also be helpful when initially setting up (eg: Point to docs in dev bundle?)