Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(middleware): add better-auth to authentication list #535

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

phojie
Copy link

@phojie phojie commented Nov 23, 2024

Adding BetterAuth to the third-party middleware section to documentation.

@yusukebe
Copy link
Member

Hi @phojie

Does it provide a specific middleware? "Middleware" means you can import it and use it.

import { abcMiddleware } from '@hono/abc'

// ...

app.use(abcMiddleware())

@phojie
Copy link
Author

phojie commented Nov 27, 2024

Hi @phojie

Does it provide a specific middleware? "Middleware" means you can import it and use it.

import { abcMiddleware } from '@hono/abc'

// ...

app.use(abcMiddleware())

Hello @yusukebe , I believe it is written in their documentation.

ref: https://www.better-auth.com/docs/integrations/hono#middleware

@yusukebe
Copy link
Member

@phojie

It is not a "middleware" but just an instruction. If you want to add a description for the Better Auth, you can add it on the example section. https://hono.dev/examples/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants