Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

โœจ feat(auth): add WeChat authentication support #5195

Merged
merged 6 commits into from
Dec 28, 2024

Conversation

xiangnanscu
Copy link
Contributor

๐Ÿ’ป ๅ˜ๆ›ด็ฑปๅž‹ | Change Type

  • โœจ feat
  • ๐Ÿ› fix
  • โ™ป๏ธ refactor
  • ๐Ÿ’„ style
  • ๐Ÿ‘ท build
  • โšก๏ธ perf
  • ๐Ÿ“ docs
  • ๐Ÿ”จ chore

๐Ÿ”€ ๅ˜ๆ›ด่ฏดๆ˜Ž | Description of Change

๐Ÿ“ ่กฅๅ……ไฟกๆฏ | Additional Information

Copy link

vercel bot commented Dec 26, 2024

@xiangnanscu is attempting to deploy a commit to the LobeHub Team on Vercel.

A member of the Team first needs to authorize it.

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. ๐ŸŒ  Feature Request New feature or request | ็‰นๆ€งไธŽๅปบ่ฎฎ labels Dec 26, 2024
@lobehubbot
Copy link
Member

๐Ÿ‘ @xiangnanscu

Thank you for raising your pull request and contributing to our Community
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
If you encounter any problems, please feel free to connect with us.
้žๅธธๆ„Ÿ่ฐขๆ‚จๆๅ‡บๆ‹‰ๅ–่ฏทๆฑ‚ๅนถไธบๆˆ‘ไปฌ็š„็คพๅŒบๅšๅ‡บ่ดก็Œฎ๏ผŒ่ฏท็กฎไฟๆ‚จๅทฒ็ป้ตๅพชไบ†ๆˆ‘ไปฌ็š„่ดก็ŒฎๆŒ‡ๅ—๏ผŒๆˆ‘ไปฌไผšๅฐฝๅฟซๅฎกๆŸฅๅฎƒใ€‚
ๅฆ‚ๆžœๆ‚จ้‡ๅˆฐไปปไฝ•้—ฎ้ข˜๏ผŒ่ฏท้šๆ—ถไธŽๆˆ‘ไปฌ่”็ณปใ€‚

Copy link
Contributor

@arvinxx arvinxx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

่ฟ˜้œ€่ฆๅ‚่€ƒ https://github.com/lobehub/lobe-chat/blob/main/docs/self-hosting/advanced/auth/next-auth/zitadel.zh-CN.mdx ่ฟ™้‡Œ็š„ไป‹็ป๏ผŒ่กฅๅ……ๅฏนๅบ”็š„ไธญ่‹ฑๆ–‡้…็ฝฎๆ–‡ๆกฃใ€‚

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

่ฟ™้‡Œไธ้œ€่ฆๆทปๅŠ ้…็ฝฎ

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@arvinxx ๆ˜ฏๆ•ดไธชauth.ts้ƒฝไธ้œ€่ฆไฟฎๆ”น่ฟ˜ๆ˜ฏ้ƒจๅˆ†ไธ้œ€่ฆๆทปๅŠ ๏ผŸๆˆ‘็œ‹ไธๅˆฐๅ…ทไฝ“ๅ“ชๅ‡ ่กŒ

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ๆ•ดไธช้ƒฝไธ้œ€่ฆไฟฎๆ”น

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@arvinxx OKไบ†

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Dec 27, 2024
@@ -0,0 +1,40 @@
---
title: ๅœจ LobeChat ไธญ้…็ฝฎ Wechat ่บซไปฝ้ชŒ่ฏๆœๅŠก
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

้…็ฝฎๅพฎไฟก่บซไปฝ้ชŒ่ฏๆœๅŠก

title: ๅœจ LobeChat ไธญ้…็ฝฎ Wechat ่บซไปฝ้ชŒ่ฏๆœๅŠก
description: ๅญฆไน ๅฆ‚ไฝ•ๅœจ LobeChat ไธญ้…็ฝฎ Wechat ่บซไปฝ้ชŒ่ฏๆœๅŠก๏ผŒๅŒ…ๆ‹ฌๅˆ›ๅปบๆ–ฐ็š„ Wechat Appใ€่ฎพ็ฝฎๆƒ้™ๅ’Œ็Žฏๅขƒๅ˜้‡ใ€‚
tags:
- Wechat ่บซไปฝ้ชŒ่ฏ
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ๅพฎไฟก่บซไปฝ้ชŒ่ฏ

docs/self-hosting/advanced/auth/next-auth/wechat.zh-CN.mdx Outdated Show resolved Hide resolved
Copy link
Contributor

@arvinxx arvinxx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for your contribution!

@arvinxx arvinxx merged commit 95153a4 into lobehub:main Dec 28, 2024
2 of 4 checks passed
@lobehubbot
Copy link
Member

โค๏ธ Great PR @xiangnanscu โค๏ธ

The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world.
้กน็›ฎ็š„ๆˆ้•ฟ็ฆปไธๅผ€็”จๆˆทๅ้ฆˆๅ’Œ่ดก็Œฎ๏ผŒๆ„Ÿ่ฐขๆ‚จ็š„่ดก็Œฎ! ๅฆ‚ๆžœๆ‚จๅฏน LobeHub ๅผ€ๅ‘่€…็คพๅŒบๆ„Ÿๅ…ด่ถฃ๏ผŒ่ฏทๅŠ ๅ…ฅๆˆ‘ไปฌ็š„ discord๏ผŒ็„ถๅŽ็งไฟก @arvinxx ๆˆ– @canisminor1990ใ€‚ไป–ไปฌไผš้‚€่ฏทๆ‚จๅŠ ๅ…ฅๆˆ‘ไปฌ็š„็งๅฏ†ๅผ€ๅ‘่€…้ข‘้“ใ€‚ๆˆ‘ไปฌๅฐ†ไผš่ฎจ่ฎบๅ…ณไบŽ Lobe Chat ็š„ๅผ€ๅ‘๏ผŒๅˆ†ไบซๅ’Œ่ฎจ่ฎบๅ…จ็ƒ่Œƒๅ›ดๅ†…็š„ AI ๆถˆๆฏใ€‚

github-actions bot pushed a commit that referenced this pull request Dec 28, 2024
## [Version 1.41.0](v1.40.4...v1.41.0)
<sup>Released on **2024-12-28**</sup>

#### โœจ Features

- **auth**: Add WeChat authentication support.
- **misc**: Support white list for discover assistant.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **auth**: Add WeChat authentication support, closes [#5195](#5195) ([95153a4](95153a4))
* **misc**: Support white list for discover assistant, closes [#5216](#5216) ([90bb20d](90bb20d))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
@lobehubbot
Copy link
Member

๐ŸŽ‰ This PR is included in version 1.41.0 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€

github-actions bot pushed a commit to bentwnghk/lobe-chat that referenced this pull request Dec 29, 2024
## [Version&nbsp;1.83.0](v1.82.3...v1.83.0)
<sup>Released on **2024-12-29**</sup>

#### โœจ Features

- **auth**: Add WeChat authentication support.
- **misc**: Support white list for discover assistant.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **auth**: Add WeChat authentication support, closes [lobehub#5195](https://github.com/bentwnghk/lobe-chat/issues/5195) ([95153a4](95153a4))
* **misc**: Support white list for discover assistant, closes [lobehub#5216](https://github.com/bentwnghk/lobe-chat/issues/5216) ([90bb20d](90bb20d))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
AirboZH pushed a commit to yuanze-dev/lobe-chat that referenced this pull request Jan 9, 2025
* โœจ feat(auth): add WeChat authentication support

* ๐Ÿ› fix(auth): remove WeChat client ID and secret warnings from auth config

* ๐Ÿ› fix(auth): remove WeChat client ID and secret from auth config; add WeChat authentication documentation

* ๐Ÿ“ docs(auth): update WeChat authentication documentation with additional environment variables and descriptions

* ๐Ÿ“ docs(auth): update WeChat authentication documentation for clarity and consistency in terminology
AirboZH pushed a commit to yuanze-dev/lobe-chat that referenced this pull request Jan 9, 2025
## [Version&nbsp;1.41.0](lobehub/lobe-chat@v1.40.4...v1.41.0)
<sup>Released on **2024-12-28**</sup>

#### โœจ Features

- **auth**: Add WeChat authentication support.
- **misc**: Support white list for discover assistant.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **auth**: Add WeChat authentication support, closes [lobehub#5195](lobehub#5195) ([95153a4](lobehub@95153a4))
* **misc**: Support white list for discover assistant, closes [lobehub#5216](lobehub#5216) ([90bb20d](lobehub@90bb20d))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
๐ŸŒ  Feature Request New feature or request | ็‰นๆ€งไธŽๅปบ่ฎฎ released size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants