Skip to content

Conversation

eatplaysleep
Copy link

This is a big one -- upgrading to auth0 v4 required quite a few changes.

  • Add middleware.ts per auth0 guidance
  • Deprecate /api/auth/xxx routes
  • implement useUser where appropriate to reduce the need to pass user as a prop
  • Fix api implementation(s) per NextJS v14 guidance.
    • Will make major changes to API implementations when I do v15 upgrade
  • Add .env.sample to make things easier
  • Update README
  • Add mock UserProvider (makes doc examples possible and easier)
  • Update all necessary DOCS files to ensure code and examples generate correctly

TODO In an upcoming PR

  • upgrade NextJS to v15 (will require significant refactoring)
    • enhance API handling
    • improve server/client data exchange
  • implement shadcn registry support (ability to import components via npx)
  • remove use-xxx hooks in favor of NextJS data streaming
  • reduce number of client components

Temporary helper! Will change in upcoming PR.
Remove user prop in favor of useUser
Was not working properly w/ upgrade to v4 auth0. Modified to be more in line w/ NextJS recommendations.

TODO: Completely overhaul API endpoints w/ NextJS 15 upgrade (breaking changes)
Issue with SSR component -- necessary to move closer to the actual component.
TODO: Add prettier support
Expand documentation + add missing variables from README
Copy link

vercel bot commented Jul 17, 2025

@eatplaysleep is attempting to deploy a commit to the Okta Team on Vercel.

A member of the Team first needs to authorize it.

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