[PR #8078] feat(social-providers): add 42 school #7731

Open
opened 2026-03-13 13:47:33 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/8078
Author: @airone01
Created: 2/20/2026
Status: 🔄 Open

Base: canaryHead: feat/social-provider-42


📝 Commits (3)

  • db5634b feat(social-providers): add 42 provider
  • 9d068bd docs(authentication): add 42 provider setup and usage page
  • 5869743 Merge branch 'canary' into feat/social-provider-42

📊 Changes

3 files changed (+135 additions, -0 deletions)

View changed files

docs/content/docs/authentication/fortytwo.mdx (+53 -0)
packages/core/src/social-providers/fortytwo.ts (+79 -0)
📝 packages/core/src/social-providers/index.ts (+3 -0)

📄 Description

Closes #8077


Summary by cubic

Adds the 42 School OAuth provider to our social-providers. Enables sign-in with 42 Intra and completes #8077.

  • New Features
    • Implements fortytwo provider (auth URL, token exchange, user info from https://api.intra.42.fr/v2/me); registered and exported.
    • Supports default "public" scope, custom scopes, disableDefaultScope, and profile-to-user mapping (id, name, email, image, emailVerified=true).
    • Adds docs page for setup and usage (credentials, redirect URL, provider config, client sign-in).

Written for commit 58697434b0b77dc29bf24dff45f8f26e8b1cb562. Summary will update on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/8078 **Author:** [@airone01](https://github.com/airone01) **Created:** 2/20/2026 **Status:** 🔄 Open **Base:** `canary` ← **Head:** `feat/social-provider-42` --- ### 📝 Commits (3) - [`db5634b`](https://github.com/better-auth/better-auth/commit/db5634b636f29e1eed6c0eb8bc603b5a4dc4210c) feat(social-providers): add 42 provider - [`9d068bd`](https://github.com/better-auth/better-auth/commit/9d068bdaed79ad2d2eac7c591d42fbc6f107e89d) docs(authentication): add 42 provider setup and usage page - [`5869743`](https://github.com/better-auth/better-auth/commit/58697434b0b77dc29bf24dff45f8f26e8b1cb562) Merge branch 'canary' into feat/social-provider-42 ### 📊 Changes **3 files changed** (+135 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `docs/content/docs/authentication/fortytwo.mdx` (+53 -0) ➕ `packages/core/src/social-providers/fortytwo.ts` (+79 -0) 📝 `packages/core/src/social-providers/index.ts` (+3 -0) </details> ### 📄 Description Closes #8077 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Adds the 42 School OAuth provider to our social-providers. Enables sign-in with 42 Intra and completes #8077. - **New Features** - Implements fortytwo provider (auth URL, token exchange, user info from https://api.intra.42.fr/v2/me); registered and exported. - Supports default "public" scope, custom scopes, disableDefaultScope, and profile-to-user mapping (id, name, email, image, emailVerified=true). - Adds docs page for setup and usage (credentials, redirect URL, provider config, client sign-in). <sup>Written for commit 58697434b0b77dc29bf24dff45f8f26e8b1cb562. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 13:47:33 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#7731