Skip to content

Share Access token to all controllers #2560

Answered by NicoPlyley
PabloPomodoro asked this question in Q&A
Discussion options

You must be logged in to vote

I would just use the middleware setup for JWT if you are using that, the Bearer Auth is more for API keys or a single key

https://hono.dev/middleware/builtin/jwt

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@PabloPomodoro
Comment options

@NicoPlyley
Comment options

@PabloPomodoro
Comment options

@NicoPlyley
Comment options

Answer selected by PabloPomodoro
@PabloPomodoro
Comment options

@NicoPlyley
Comment options

@PabloPomodoro
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants