Skip to content

Update configuring-oauth-providers #12898

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Saket6198
Copy link

Added Express integration examples to the "Configuring an OAuth provider" guide.
This fills a documentation gap for users implementing @auth/core in an Express.js app.

☕️ Reasoning

The official NextAuth.js documentation already provides examples for Next.js, SvelteKit, and Qwik integrations. However, despite @auth/core supporting a framework-agnostic usage, there were no concrete examples for Express.js.

This PR adds TypeScript-based usage examples for Express in:

  • Overriding default provider options

  • Customizing the profile callback

  • Setting up a custom OAuth provider

🧢 Checklist

  • Documentation
  • Tests
  • Ready to be merged

🎫 Affected issues

N/A

📌 Resources

added docs for implementation of auth using express that was not there in the official docs earlier
@Saket6198 Saket6198 requested a review from ndom91 as a code owner April 24, 2025 05:41
Copy link

vercel bot commented Apr 24, 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 Apr 24, 2025 3:02pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
next-auth-docs ⬜️ Ignored (Inspect) Visit Preview Apr 24, 2025 3:02pm

Copy link

vercel bot commented Apr 24, 2025

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

A member of the Team first needs to authorize it.

@Saket6198 Saket6198 changed the title Update configuring-oauth-providers.mdx Update configuring-oauth-providers Apr 25, 2025
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