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(express): add TypeScript guide for custom session properties #12590

Merged
merged 3 commits into from
Feb 2, 2025

Conversation

Exe16Kishan
Copy link
Contributor

docs(express): add TypeScript guide for custom session properties

  • Added detailed documentation for extending session types in Express.js
  • Included code examples for module augmentation and session callback
  • Explained how to add custom properties like id to the session object
  • Aligned with Auth.js TypeScript best practices and JWT session strategy

This update helps Express.js users integrate custom session properties with TypeScript support, following the framework's conventions.

docs(express): add TypeScript guide for custom session properties

- Added detailed documentation for extending session types in Express.js
- Included code examples for module augmentation and session callback
- Explained how to add custom properties like `id` to the session object
- Aligned with Auth.js TypeScript best practices and JWT session strategy

This update helps Express.js users integrate custom session properties
with TypeScript support, following the framework's conventions.
Copy link

vercel bot commented Jan 31, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
auth-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 2, 2025 10:36am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
next-auth-docs ⬜️ Ignored (Inspect) Visit Preview Feb 2, 2025 10:36am

Copy link

vercel bot commented Jan 31, 2025

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

A member of the Team first needs to authorize it.

@Exe16Kishan
Copy link
Contributor Author

Hi maintainers, I've submitted this PR, but the Vercel deployment is awaiting authorization. Could someone please review and authorize the deployment? Thank you

@ThangHuuVu ThangHuuVu merged commit d84c361 into nextauthjs:main Feb 2, 2025
11 of 13 checks passed
@Exe16Kishan Exe16Kishan deleted the patch-2 branch February 2, 2025 19:16
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