[PR #5803] Remove duplicate token endpoint declarations #14482

Closed
opened 2026-04-13 09:29:50 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/better-auth/better-auth/pull/5803

State: closed
Merged: No


Noticed that we are using single tokenEndpoint declarations in some social providers and duplicating in others. Wherever applicable, have manually gone through the providers and used one tokenEndpoint constant to remove code redundancy.


Summary by cubic

Adds an Expo example app and updates the Next.js demo with SSO support, while introducing docs endpoints for chat/analytics/support and streamlining CI/workflows and tooling.

  • New Features

    • New Expo example using Expo Router, SecureStore, and social providers (GitHub/Google).
    • Docs APIs for AI chat, analytics (events/conversations/feedback), and support; OG defaults added.
    • Next.js demo supports @better-auth/sso.
  • Refactors

    • Simplified GitHub workflows (removed branch-protection/branch-rules, updated actions/cache, pinned setup-node).
    • Next.js demo cleanup: Tailwind v4 class updates, removed three.js canvas effect and related deps.
    • Tooling/docs: CONTRIBUTING adds nvm/corepack guidance; stricter lint rules; expanded docker-compose DB services; blog layout and sorting improvements.

Written for commit e8c546ac57. Summary will update automatically on new commits.

**Original Pull Request:** https://github.com/better-auth/better-auth/pull/5803 **State:** closed **Merged:** No --- Noticed that we are using single `tokenEndpoint` declarations in some social providers and duplicating in others. Wherever applicable, have manually gone through the providers and used one `tokenEndpoint` constant to remove code redundancy. <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Adds an Expo example app and updates the Next.js demo with SSO support, while introducing docs endpoints for chat/analytics/support and streamlining CI/workflows and tooling. - New Features - New Expo example using Expo Router, SecureStore, and social providers (GitHub/Google). - Docs APIs for AI chat, analytics (events/conversations/feedback), and support; OG defaults added. - Next.js demo supports @better-auth/sso. - Refactors - Simplified GitHub workflows (removed branch-protection/branch-rules, updated actions/cache, pinned setup-node). - Next.js demo cleanup: Tailwind v4 class updates, removed three.js canvas effect and related deps. - Tooling/docs: CONTRIBUTING adds nvm/corepack guidance; stricter lint rules; expanded docker-compose DB services; blog layout and sorting improvements. <sup>Written for commit e8c546ac577a0c1d8606e0a4c8389e34bc3660e1. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. -->
GiteaMirror added the pull-request label 2026-04-13 09:29:50 -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#14482