Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alfarih31/sveltekit-auth0-ssr-integration
Simple integration of SSR Sveltekit with auth0
https://github.com/alfarih31/sveltekit-auth0-ssr-integration
Last synced: 8 days ago
JSON representation
Simple integration of SSR Sveltekit with auth0
- Host: GitHub
- URL: https://github.com/alfarih31/sveltekit-auth0-ssr-integration
- Owner: alfarih31
- Created: 2022-06-01T15:27:55.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-05-31T16:01:00.000Z (over 1 year ago)
- Last Synced: 2024-05-17T23:55:05.347Z (6 months ago)
- Language: TypeScript
- Homepage: https://auth0-ssr-sveltekit.vercel.app
- Size: 435 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `Sveltekit` & `Auth0` - SSR integration
View the demo here 🥳🥳🥳
### [🎪🎪 auth0-ssr-sveltekit.vercel.app 🎪🎪](https://auth0-ssr-sveltekit.vercel.app/) ###
## Prerequisites
1. Node.js v16
## Set-up
### Development Config
1. Copy [.env.example](.env.example) as [.env](.env)
```bash
cp ./.env.example ./.env
```2. Belows are available configurations:
| Key | Description | Required | Values |
|-----------------------|---------------------------------|----------|--------|
| `VITE_APP_NAME` | Application name's | **✓** | String |
| `BASE_URL` | Runtime baseURL | **✓** | String |
| `ENCRYPT_SECRET` | Encryption secret | **✓** | String |
| `AUTH0_DOMAIN` | Auth0 application domain | **✓** | String |
| `AUTH0_CLIENT_ID` | Auth0 application client id | **✓** | String |
| `AUTH0_CLIENT_SECRET` | Auth0 application client secret | **✓** | String |### Install Dependencies
```bash
npm install
```## Development
### Start App Development Runtime
```bash
npm run dev
```### Contributors ###
- Alfarih Faza