Skip to content

docs: update Hono quickstart to beta SDK API#984

Open
tusharpandey13 wants to merge 1 commit intoauth0:mainfrom
tusharpandey13:feat/hono-qs-update
Open

docs: update Hono quickstart to beta SDK API#984
tusharpandey13 wants to merge 1 commit intoauth0:mainfrom
tusharpandey13:feat/hono-qs-update

Conversation

@tusharpandey13
Copy link
Copy Markdown

@tusharpandey13 tusharpandey13 commented Apr 20, 2026

Summary

  • Updates the Hono webapp quickstart (/main/docs/quickstart/webapp/hono/index.mdx) to reflect the @auth0/auth0-hono@1.0.0 beta SDK API
  • Fixes 6 API corrections: auth()auth0(), Auth0ExceptionAuth0Error, BASE_URLAPP_BASE_URL, async getSession() → sync c.var.auth0.user/.session, removes explicit config in favor of zero-config pattern
  • Adds AI assistant accordion with agent skills integration (matches Next.js quickstart pattern)
  • Fixes Windows CLI command: AUTH0_SECRETAUTH0_SESSION_ENCRYPTION_KEY

Changes

  • New section: AI accordion for agent skills integration (auth0-hono skill)
  • Step 4 code block: Complete replacement with zero-config auth0() middleware, sync user access via c.var.auth0.user, and Auth0Error error handling
  • Environment variables: BASE_URLAPP_BASE_URL across CLI (Mac + Windows), Dashboard .env, and Troubleshooting
  • Troubleshooting/Best Practices/Advanced Usage: Updated all references to new API names

Test plan

  • Run mint dev in main/ and verify Hono quickstart renders correctly
  • Verify AI accordion displays with correct install command and prompt
  • Verify Step 4 code block shows zero-config auth0() pattern
  • Verify all .env examples use APP_BASE_URL
  • Verify no references to old API (auth(, Auth0Exception, BASE_URL, auth0Client) remain
  • Check mint broken-links passes

@tusharpandey13 tusharpandey13 requested a review from a team as a code owner April 20, 2026 14:15
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.

1 participant