Authenticating Svelte Applications

Learn how to create a Svelte application and add authentication.
Read more…

Brought for you by one of our Guest Author: Fikayo Adepoju @coderonfleek

2 Likes

How did you like this post? Please share any comments or feedback with us on this thread

1 Like

This is great, super helpful, except… I’m getting rollup errors, trying to use the library.

[!] (plugin commonjs) SyntaxError: Unexpected token (15:9794) in {...}\node_modules\@auth0\auth0-spa-js\dist\auth0-spa-js.production.esm.js

I’m not really familiar with rollup, so, I’m stumped. … loading the script straight from the CDN works, so, I’m just gonna go with that for now. :woman_shrugging:

Hi. Thanks for pointing this out, can you please describe the point where you started getting this error so we can investigate further. Thanks

1 Like