Hi @aveltens, thanks for reaching out. I’m currently looking into this, and could not reproduce using the demo app provided in solid-client-authn-js/packages/browser/examples/single/bundle at main · inrupt/solid-client-authn-js · G (and updated for the occasion in Updated dependencies and client profile by NSeydoux · Pull Request #1617 · inrupt/solid-client-authn-js · GitHub</title ^^).
Would you mind opening a bug ticket in Sign in to GitHub · GitHub, so that we can discuss the issue there ? In particular, that may get me additional information about your setup. As it stands, I’m not sure where the issue comes from, because the library doesn’t use
XMLHttpRequest at all, so this looks like it comes from your app, which means some side-effect to the upgrade broke your setup.
It’s a good thing that you mention the polyfills, because as @Vincent mentioned they should no longer be required, which means our doc needs updating too :). I just ran the demo app depending on the latest
@inrupt/solid-client-authn-browser, with Webpack 5.50.0, and things looked like they worked without any additional polyfills. If you were using an older version of the library with Webpack 5, you must have been manually providing a whole bunch of polyfills (besides
buffer), some of which related to streams actually, that are no longer required, so maybe removing these from your configuration may help ?