Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hrueger/authjs-prisma-issue
https://github.com/hrueger/authjs-prisma-issue
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/hrueger/authjs-prisma-issue
- Owner: hrueger
- Created: 2023-04-01T21:43:24.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-01T21:43:29.000Z (almost 2 years ago)
- Last Synced: 2024-04-23T02:15:12.066Z (10 months ago)
- Language: TypeScript
- Size: 862 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Prisma Adapter Issue
## Get started
- `docker compose up -d`
- wait for a minute, until keycloak is ready
- go to `localhost:8095`
- login with username `user` and password `bitnami`
- Create a new realm (by clicking on `master`), call it `Test`
- Go to clients and create a client (call it `authjs`)
- Select authentication: yes
- set redirect uris to `*` and save
- go to credentials, copy client secret and add the following to `.env`:
```
KEYCLOAK_CLIENT_ID=authjs
KEYCLOAK_CLIENT_SECRET=YOUR_CLIENT_SECRET
```
- run `yarn`
- run `yarn dev`
- go to `localhost:5137`, click on login, create a user and login. Then, you get the error.