Skip to content

Conversation

DePasqualeOrg
Copy link

☕️ Reasoning

After the first time the jwt callback is called, user is undefined, but this is not reflected in the type. This resulted in errors that were difficult to fix in my SvelteKit app using Auth.js. The same change may need to be made in the session callback. See further discussion here: #9438

🧢 Checklist

  • Documentation
  • Tests
  • Ready to be merged

Copy link

vercel bot commented Sep 5, 2025

@DePasqualeOrg is attempting to deploy a commit to the authjs Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented Sep 5, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
auth-docs Ready Ready Preview Comment Sep 5, 2025 8:53am
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
next-auth-docs Ignored Ignored Preview Sep 5, 2025 8:53am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Refers to `@auth/core`
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant