Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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