@edgedb/auth-sveltekit
Advanced tools
Comparing version 0.2.0-canary.20240411T144351 to 0.2.0-canary.20240411T200411
{ | ||
"name": "@edgedb/auth-sveltekit", | ||
"description": "Helper library to integrate the EdgeDB Auth extension with Sveltekit.", | ||
"version": "0.2.0-canary.20240411T144351", | ||
"version": "0.2.0-canary.20240411T200411", | ||
"author": "EdgeDB <info@edgedb.com>", | ||
@@ -6,0 +6,0 @@ "type": "module", |
# @edgedb/auth-sveltekit | ||
This library provides a set of utilities to help you integrate authentication into your [Sveltekit](https://kit.svelte.dev/) application. | ||
This library provides a set of utilities to help you integrate authentication into your [SvelteKit](https://kit.svelte.dev/) application. | ||
It supports authentication with various OAuth providers, as well as email/password authentication. | ||
@@ -16,3 +16,6 @@ | ||
**Prerequisites**: Before adding EdgeDB auth to your Sveltekit app, you will first need to enable the `auth` extension in your EdgeDB schema, and have configured the extension with some providers (you can do this in CLI or EdgeDB UI). Refer to the auth extension docs for details on how to do this. | ||
**Prerequisites**: | ||
- Node v18+ | ||
- **Note**: Due to using the `crypto` global, you will need to start Node with `--experimental-global-webcrypto`. You can add this option to your `NODE_OPTIONS` environment variable, like `NODE_OPTIONS='--experimental-global-webcrypto'` in the appropriate `.env` file. | ||
- Before adding EdgeDB auth to your SvelteKit app, you will first need to enable the `auth` extension in your EdgeDB schema, and have configured the extension with some providers (you can do this in CLI or EdgeDB UI). Refer to the auth extension docs for details on how to do this. | ||
@@ -19,0 +22,0 @@ ### Client auth helper |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29083
194