[PR #8187] [CLOSED] feat: add mezon authentication provider and documentation #16049

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/8187
Author: @Tuan2002
Created: 2/27/2026
Status: ❌ Closed

Base: canary ← Head: feat/mezon-oauth


📝 Commits (7)

  • bb740fd feat: add mezon authentication provider and documentation
  • 7b95951 Merge branch 'canary' into feat/mezon-oauth
  • a841b0a refactor: clean up formatting in sidebar-content and mezon provider files
  • b19294d fix: include options in the mezon provider export
  • d54d924 fix: fix lint errors in mezon oauth provider
  • ce59417 chore: add 'mezon' to company names list for spell checking
  • fb5ac77 Merge branch 'canary' into feat/mezon-oauth

📊 Changes

5 files changed (+181 additions, -1 deletions)

View changed files

📝 .cspell/company-names.txt (+1 -0)
➕ docs/content/docs/authentication/mezon.mdx (+60 -0)
📝 landing/components/sidebar-content.tsx (+21 -0)
📝 packages/core/src/social-providers/index.ts (+3 -1)
➕ packages/core/src/social-providers/mezon.ts (+96 -0)

📄 Description

  • Add Mezon OAuth provider that open source communication platform issued by Mezon
  • Add Mezon socical authentication example to better-auth docs

Summary by cubic

Adds a Mezon OAuth provider with setup docs and a sidebar link to enable Mezon sign-in.

  • New Features

    • New mezon provider: builds auth URL, validates code, and fetches user via id_token (preferred) or /userinfo; defaults to offline and openid scopes; exported in socialProviders and as a named export.
    • Docs with credential setup, redirect URI guidance, and a client sign-in example; sidebar adds Mezon with an icon and notes Mezon doesn’t issue refresh tokens.
  • Bug Fixes

    • Export now includes options to preserve custom configuration; fixed lint errors in the provider.
    • Added "mezon" to the spellcheck dictionary to avoid false positives.

Written for commit fb5ac77042. 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/8187 **Author:** [@Tuan2002](https://github.com/Tuan2002) **Created:** 2/27/2026 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `feat/mezon-oauth` --- ### 📝 Commits (7) - [`bb740fd`](https://github.com/better-auth/better-auth/commit/bb740fda76257d608a167360238c066b5690f2c5) feat: add mezon authentication provider and documentation - [`7b95951`](https://github.com/better-auth/better-auth/commit/7b95951be3cc0072393acd3d474cef8d3ac3e47a) Merge branch 'canary' into feat/mezon-oauth - [`a841b0a`](https://github.com/better-auth/better-auth/commit/a841b0aa9a42a99b23cd67f50d56e98a671ff0fa) refactor: clean up formatting in sidebar-content and mezon provider files - [`b19294d`](https://github.com/better-auth/better-auth/commit/b19294dac5ddd89acb05a163734f6626f6694676) fix: include options in the mezon provider export - [`d54d924`](https://github.com/better-auth/better-auth/commit/d54d924b85afe8df662806cbc7d758dc9fbdf1e4) fix: fix lint errors in mezon oauth provider - [`ce59417`](https://github.com/better-auth/better-auth/commit/ce594171e3d2ba56e41ad2d9ea1b7c959c3bb1fd) chore: add 'mezon' to company names list for spell checking - [`fb5ac77`](https://github.com/better-auth/better-auth/commit/fb5ac77042a337ff000f0b5a06715bf554d2b916) Merge branch 'canary' into feat/mezon-oauth ### 📊 Changes **5 files changed** (+181 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `.cspell/company-names.txt` (+1 -0) ➕ `docs/content/docs/authentication/mezon.mdx` (+60 -0) 📝 `landing/components/sidebar-content.tsx` (+21 -0) 📝 `packages/core/src/social-providers/index.ts` (+3 -1) ➕ `packages/core/src/social-providers/mezon.ts` (+96 -0) </details> ### 📄 Description - Add Mezon OAuth provider that open source communication platform issued by [Mezon](https://mezon.ai) - Add Mezon socical authentication example to better-auth docs <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Adds a Mezon OAuth provider with setup docs and a sidebar link to enable Mezon sign-in. - **New Features** - New mezon provider: builds auth URL, validates code, and fetches user via id_token (preferred) or /userinfo; defaults to offline and openid scopes; exported in socialProviders and as a named export. - Docs with credential setup, redirect URI guidance, and a client sign-in example; sidebar adds Mezon with an icon and notes Mezon doesn’t issue refresh tokens. - **Bug Fixes** - Export now includes options to preserve custom configuration; fixed lint errors in the provider. - Added "mezon" to the spellcheck dictionary to avoid false positives. <sup>Written for commit fb5ac77042a337ff000f0b5a06715bf554d2b916. 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-04-13 10:21:55 -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#16049