Skip to content

Added code example to getAuth nextjs documentation (created a partial) #2295

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

Merged
merged 6 commits into from
Jun 17, 2025

Conversation

SarahSoutoul
Copy link
Contributor

@SarahSoutoul SarahSoutoul commented Jun 5, 2025

🔎 Previews:

What does this solve?

This PR is in response to user's feedback requesting a code example on the getAuth() docs for Next.js. Here is the page for context: https://clerk.com/docs/references/nextjs/get-auth.

What changed?

  • Created a new partial for this code example
  • Included it in the Next.js getAuth() documentation + the Read session data page to fully utilize the partial

Checklist

  • I have clicked on "Files changed" and performed a thorough self-review
  • All existing checks pass

@SarahSoutoul SarahSoutoul self-assigned this Jun 5, 2025
@SarahSoutoul SarahSoutoul requested a review from a team as a code owner June 5, 2025 19:27
Copy link

github-actions bot commented Jun 5, 2025

Hey, here’s your docs preview: https://clerk.com/docs/pr/2295

Copy link
Member

@alexisintech alexisintech left a comment

Choose a reason for hiding this comment

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

perfection 😻 😻 is there anywhere else we could possibly use this partial?

@SarahSoutoul
Copy link
Contributor Author

perfection 😻 😻 is there anywhere else we could possibly use this partial?

Had a look and doesn't seem like there are other places, where this partial could be used.

@SarahSoutoul SarahSoutoul requested a review from alexisintech June 9, 2025 22:40
Copy link
Member

@alexisintech alexisintech left a comment

Choose a reason for hiding this comment

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

lgtm 😸💖

Copy link

vercel bot commented Jun 17, 2025

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

Name Status Preview Updated (UTC)
clerk-docs ✅ Ready (Inspect) Visit Preview Jun 17, 2025 4:05pm

@SarahSoutoul SarahSoutoul merged commit 4d7eaf6 into main Jun 17, 2025
10 checks passed
@SarahSoutoul SarahSoutoul deleted the ss/DOCS-9966 branch June 17, 2025 16:09
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.

3 participants