Open daploydev opened 4 years ago
I got same problem as you ! I hope project will add method to make isomorphic fetch or something to fix this bug.
I was able to get anon auth working with stitch and next but you need to put the javscript sdk in the head tag and not install it as a node module and then a small script to initialize your app id and log the user in when the page loads in the browser.
This tricks works but if we use next js or parcels we need to use this as module.
I hope they will fix this bug :/
Trying to use nextjs with the npm sdk and getting self is not defined from node_modules\whatwg-fetch\dist\fetch.umd.js should I use the script sdk in head instead