This project was created with SvelteKit.
-
@uauth/js
now depends on the WebCrypto Standard alone for all cryptographic functions. -
@uauth/js
no longer needs any polyfills to work. -
@uauth/js
requires the window object to be accessable when importing it.- This means that you cannot import the library at the top-level if you want to keep SvelteKit's SSR system in place. Instead, we are dynamically importing the library.
- lib/uauth.ts - The configuration for
@uauth/js
. - routes/index.svelte - A login page implementation.
- This is an example demonstrating the use of
@uauth/js