[PR #6955] [CLOSED] feat(social provider): add Thingiverse social provider #6988

Closed
opened 2026-03-13 13:20:19 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6955
Author: @LovelessCodes
Created: 12/23/2025
Status: Closed

Base: canaryHead: feat/thingiverse-social-provider


📝 Commits (10+)

  • 5f74311 feat: add Paystack plugin to community plugins list (#6782)
  • 6164547 feat(social-providers): add Thingiverse provider integration
  • 40263c6 feat(thingiverse): add Thingiverse provider documentation
  • bafdd04 feat(thingiverse): add Thingiverse social provider icons
  • 21f97c0 fix(social-provider): 🐛 correct SVG path closing tag
  • dfc1922 feat(sidebar): add Thingiverse social provider icon
  • 335d886 Update packages/core/src/social-providers/thingiverse.ts
  • 4dccbc6 Update packages/core/src/social-providers/thingiverse.ts
  • 4ec8888 fix(thingiverse): 🐛 refactor token retrieval process
  • f0ca1a8 Merge branch 'canary' into feat/thingiverse-social-provider

📊 Changes

7 files changed (+261 additions, -1 deletions)

View changed files

📝 .cspell/company-names.txt (+2 -1)
📝 docs/components/builder/social-provider.tsx (+27 -0)
📝 docs/components/sidebar-content.tsx (+17 -0)
docs/content/docs/authentication/thingiverse.mdx (+57 -0)
📝 docs/content/docs/plugins/community-plugins.mdx (+1 -0)
📝 packages/core/src/social-providers/index.ts (+3 -0)
packages/core/src/social-providers/thingiverse.ts (+154 -0)

📄 Description

This PR introduces integration for Thingiverse as a social authentication provider. It includes the core provider logic, comprehensive documentation, and UI support for the documentation builder.

Changes

  • Core Implementation:
    • Added thingiverse provider in core.
    • Implemented OAuth2 flow including authorization URL creation, token validation, and user profile mapping.
    • Supports standard Thingiverse profile fields (ID, Name, Email, Thumbnail).
  • Documentation:
    • Created a new guide at thingiverse.mdx covering credential setup and client/server configuration.
  • UI/Icons:
    • Added Thingiverse SVG icons to the social provider builder component.
    • Fixed a minor SVG path closing tag issue to ensure proper rendering.

How to Test

  1. Configure thingiverse in your betterAuth configuration.
  2. Use authClient.signIn.social({ provider: "thingiverse" }) to initiate the flow.
  3. Verify that user data (email, name, image) is correctly populated in the database upon successful login.

Checklist

  • Core provider logic implemented
  • Documentation added
  • Provider icons added to the docs builder
  • Verified SVG rendering in the UI

Summary by cubic

Add Thingiverse as a social auth provider with OAuth2 support, user profile mapping, and docs. Also adds icons to the docs builder and sidebar, and fixes an SVG path rendering issue.

  • New Features

    • Implemented Thingiverse OAuth2 provider (auth URL, token exchange via form-encoded POST, profile mapping).
    • Fetches user info from api.thingiverse.com/users/me and maps ID, name, email, image.
    • Added provider exports in core index for easy import.
    • New docs page with setup steps and sign-in example.
    • Added Thingiverse icons to the social provider builder and sidebar.
  • Bug Fixes

    • Corrected an SVG path closing tag to ensure proper icon rendering.

Written for commit 2b1ac1f42b. Summary will update automatically 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/6955 **Author:** [@LovelessCodes](https://github.com/LovelessCodes) **Created:** 12/23/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `feat/thingiverse-social-provider` --- ### 📝 Commits (10+) - [`5f74311`](https://github.com/better-auth/better-auth/commit/5f743118c52fb1809922eae3130cee334f78e3a0) feat: add Paystack plugin to community plugins list (#6782) - [`6164547`](https://github.com/better-auth/better-auth/commit/61645471d60451ca9c25658773fa913c44a56ad5) feat(social-providers): ✨ add Thingiverse provider integration - [`40263c6`](https://github.com/better-auth/better-auth/commit/40263c67fd42fb35dbb849ad1ed847f3bdc180e8) feat(thingiverse): ✨ add Thingiverse provider documentation - [`bafdd04`](https://github.com/better-auth/better-auth/commit/bafdd0449f7e1b7e1d2ec12744951ea53c7b87fa) feat(thingiverse): ✨ add Thingiverse social provider icons - [`21f97c0`](https://github.com/better-auth/better-auth/commit/21f97c0993329602b42f7566c6696acaa419d0f4) fix(social-provider): 🐛 correct SVG path closing tag - [`dfc1922`](https://github.com/better-auth/better-auth/commit/dfc1922af512d28d9e13fabb1334b134f4d63fd7) feat(sidebar): ✨ add Thingiverse social provider icon - [`335d886`](https://github.com/better-auth/better-auth/commit/335d886486e201ae2d4b7096076314f345c950e3) Update packages/core/src/social-providers/thingiverse.ts - [`4dccbc6`](https://github.com/better-auth/better-auth/commit/4dccbc65565b570f0b413810a5a320b79a326785) Update packages/core/src/social-providers/thingiverse.ts - [`4ec8888`](https://github.com/better-auth/better-auth/commit/4ec888827903e4d92609143c14f10bc3af5e5abf) fix(thingiverse): 🐛 refactor token retrieval process - [`f0ca1a8`](https://github.com/better-auth/better-auth/commit/f0ca1a8760e1a89035e8ceaaef2f3cc560d7b553) Merge branch 'canary' into feat/thingiverse-social-provider ### 📊 Changes **7 files changed** (+261 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `.cspell/company-names.txt` (+2 -1) 📝 `docs/components/builder/social-provider.tsx` (+27 -0) 📝 `docs/components/sidebar-content.tsx` (+17 -0) ➕ `docs/content/docs/authentication/thingiverse.mdx` (+57 -0) 📝 `docs/content/docs/plugins/community-plugins.mdx` (+1 -0) 📝 `packages/core/src/social-providers/index.ts` (+3 -0) ➕ `packages/core/src/social-providers/thingiverse.ts` (+154 -0) </details> ### 📄 Description This PR introduces integration for Thingiverse as a social authentication provider. It includes the core provider logic, comprehensive documentation, and UI support for the documentation builder. ### Changes - **Core Implementation:** - Added thingiverse provider in [core](https://github.com/LovelessCodes/better-auth/blob/61645471d60451ca9c25658773fa913c44a56ad5/packages/core/src/social-providers/thingiverse.ts). - Implemented OAuth2 flow including authorization URL creation, token validation, and user profile mapping. - Supports standard Thingiverse profile fields (ID, Name, Email, Thumbnail). - **Documentation:** - Created a new guide at [thingiverse.mdx](https://github.com/LovelessCodes/better-auth/blob/40263c67fd42fb35dbb849ad1ed847f3bdc180e8/docs/content/docs/authentication/thingiverse.mdx) covering credential setup and client/server configuration. - **UI/Icons:** - Added Thingiverse SVG icons to the social provider builder component. - Fixed a minor SVG path closing tag issue to ensure proper rendering. **How to Test** 1. Configure thingiverse in your betterAuth configuration. 2. Use authClient.signIn.social({ provider: "thingiverse" }) to initiate the flow. 3. Verify that user data (email, name, image) is correctly populated in the database upon successful login. Checklist - [x] Core provider logic implemented - [x] Documentation added - [x] Provider icons added to the docs builder - [x] Verified SVG rendering in the UI <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Add Thingiverse as a social auth provider with OAuth2 support, user profile mapping, and docs. Also adds icons to the docs builder and sidebar, and fixes an SVG path rendering issue. - **New Features** - Implemented Thingiverse OAuth2 provider (auth URL, token exchange via form-encoded POST, profile mapping). - Fetches user info from api.thingiverse.com/users/me and maps ID, name, email, image. - Added provider exports in core index for easy import. - New docs page with setup steps and sign-in example. - Added Thingiverse icons to the social provider builder and sidebar. - **Bug Fixes** - Corrected an SVG path closing tag to ensure proper icon rendering. <sup>Written for commit 2b1ac1f42b971b82abd51957c7d84f31dd50654c. Summary will update automatically 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:20:19 -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#6988