[PR #7730] [MERGED] feat(providers): add Railway OAuth provider #15765

Closed
opened 2026-04-13 10:12:51 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/7730
Author: @kadumedim
Created: 1/31/2026
Status: Merged
Merged: 2/16/2026
Merged by: @Bekacru

Base: canaryHead: feature/railway-provider


📝 Commits (10+)

📊 Changes

8 files changed (+424 additions, -0 deletions)

View changed files

📝 demo/nextjs/.env.example (+2 -0)
📝 demo/nextjs/turbo.json (+2 -0)
📝 docs/components/builder/social-provider.tsx (+22 -0)
📝 docs/components/sidebar-content.tsx (+22 -0)
docs/content/docs/authentication/railway.mdx (+112 -0)
📝 packages/better-auth/src/social.test.ts (+161 -0)
📝 packages/core/src/social-providers/index.ts (+3 -0)
packages/core/src/social-providers/railway.ts (+100 -0)

📄 Description

  • Add Railway as a social OAuth provider with PKCE support
  • Support for all Railway OAuth scopes (workspace/project access levels)
  • Documentation with setup guide and scope configuration examples

🔄 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/7730 **Author:** [@kadumedim](https://github.com/kadumedim) **Created:** 1/31/2026 **Status:** ✅ Merged **Merged:** 2/16/2026 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `feature/railway-provider` --- ### 📝 Commits (10+) - [`f6a9f6d`](https://github.com/better-auth/better-auth/commit/f6a9f6d70ec395e0e6ba1a82c12497afbe02928e) railway social provider - [`ed46e8b`](https://github.com/better-auth/better-auth/commit/ed46e8b7863686e2a72942010b74d340ca714398) refactor - [`5b2861b`](https://github.com/better-auth/better-auth/commit/5b2861b750d8dbbbe4d541dd7de2f6fab4a8731a) fix test - [`456517f`](https://github.com/better-auth/better-auth/commit/456517fa2909a4740e637ad9f82ee0c7c2c2d381) docs - [`f0d94f3`](https://github.com/better-auth/better-auth/commit/f0d94f393506aa80e90a64d462cf3212d23869d7) better scope description - [`3daa176`](https://github.com/better-auth/better-auth/commit/3daa17692b9af5e25a050194c4b00bf5b416b0c9) Merge branch 'canary' into feature/railway-provider - [`ef36d83`](https://github.com/better-auth/better-auth/commit/ef36d83cb114e405f64fee9b3299d666e2aa74ef) re-add kick export. - [`a126cff`](https://github.com/better-auth/better-auth/commit/a126cffc449a0d77351f0f165622209c2df72380) include auth type on refreshtoken - [`0b70743`](https://github.com/better-auth/better-auth/commit/0b70743bd5ac3e2df432e69987ed010aeb60b4c2) verify PKCE parameters on test - [`4789e91`](https://github.com/better-auth/better-auth/commit/4789e91805eb38698d33250c751a6329990872a6) remove nested prompt parameter ### 📊 Changes **8 files changed** (+424 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `demo/nextjs/.env.example` (+2 -0) 📝 `demo/nextjs/turbo.json` (+2 -0) 📝 `docs/components/builder/social-provider.tsx` (+22 -0) 📝 `docs/components/sidebar-content.tsx` (+22 -0) ➕ `docs/content/docs/authentication/railway.mdx` (+112 -0) 📝 `packages/better-auth/src/social.test.ts` (+161 -0) 📝 `packages/core/src/social-providers/index.ts` (+3 -0) ➕ `packages/core/src/social-providers/railway.ts` (+100 -0) </details> ### 📄 Description - Add [Railway](https://railway.com/) as a social OAuth provider with PKCE support - Support for all Railway OAuth scopes (workspace/project access levels) - Documentation with setup guide and scope configuration examples --- <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-04-13 10:12:51 -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#15765