https://github.com/magne4000/vike-authjs
https://github.com/magne4000/vike-authjs
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/magne4000/vike-authjs
- Owner: magne4000
- License: mit
- Created: 2023-04-26T13:51:56.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-22T09:35:45.000Z (about 1 year ago)
- Last Synced: 2024-05-02T06:15:16.568Z (12 months ago)
- Language: TypeScript
- Size: 64.5 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Getting started
Recommended to use [bati](https://batijs.github.io)
```bash
pnpm install @auth/core vike-authjs
```## Setting It Up
[Generate auth secret](https://generate-secret.vercel.app/32), then set it as an environment variable:
```
AUTH_SECRET=your_auth_secret
```### On Production
Don't forget to trust the host.
```
AUTH_TRUST_HOST=true
```