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

chore(docs): documentation for extending session data with provider functions #11138

Merged
merged 5 commits into from
Jul 27, 2024

Conversation

halvaradop
Copy link
Contributor

☕️ Reasoning

This pull request adds documentation for extending session data using provider functions in the configuration file. It explains how to use the authorize and profile functions provided by authentication providers to customize the user object stored in the session.

🧢 Checklist

  • Documentation
  • Tests
  • Ready to be merged

📌 Resources

Copy link

vercel bot commented Jun 11, 2024

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 Jul 27, 2024 10:16pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
next-auth-docs ⬜️ Ignored (Inspect) Visit Preview Jul 27, 2024 10:16pm

Copy link

vercel bot commented Jun 11, 2024

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

A member of the Team first needs to authorize it.

Copy link
Contributor Author

@halvaradop halvaradop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes were made

docs/pages/guides/extending-the-session.mdx Outdated Show resolved Hide resolved
Copy link
Member

@ndom91 ndom91 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Last request - can you move this ## With Provider Functions section below the ## With Database one?

@halvaradop
Copy link
Contributor Author

I have followed your instructions and moved the content

Copy link
Member

@ndom91 ndom91 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks good

@ndom91 ndom91 merged commit f119278 into nextauthjs:main Jul 27, 2024
9 of 12 checks passed
k3k8 pushed a commit to k3k8/next-auth that referenced this pull request Aug 1, 2024
…unctions (nextauthjs#11138)

* chore(docs): documentation for extending session data with provider
functions

* chore: move section to below # with databases

---------

Co-authored-by: Nico Domino <yo@ndo.dev>
@halvaradop halvaradop deleted the chore/extending-the-session branch August 10, 2024 19:23
@halvaradop halvaradop restored the chore/extending-the-session branch August 10, 2024 19:23
@halvaradop halvaradop deleted the chore/extending-the-session branch August 10, 2024 19:23
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