Skip to content

Commit bb32651

Browse files
authored
Update hono-authjs.md (#890)
Fixes #889
1 parent bad29e3 commit bb32651

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

examples/hono-authjs.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Get authentication running in 5 minutes:
1818
## Installation
1919

2020
```bash
21-
npm install hono @hono/auth-js @auth/core
21+
npm install hono @hono/auth-js @auth/core @auth/drizzle-adapter
2222
```
2323

2424
## Setup
@@ -166,9 +166,10 @@ import {
166166
initAuthConfig,
167167
verifyAuth,
168168
authHandler,
169-
DrizzleAdapter,
170169
} from '@hono/auth-js'
171-
import { GitHub, Google } from '@auth/core/providers'
170+
import { DrizzleAdapter } from '@auth/drizzle-adapter'
171+
import Google from '@auth/core/providers/google'
172+
import GitHub from '@auth/core/providers/github'
172173
import { db } from './db'
173174
import {
174175
users,

0 commit comments

Comments
 (0)