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

weixin oauth2.0 login,微信登录 #4951

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

wcu1117
Copy link

@wcu1117 wcu1117 commented Dec 10, 2024

💻 变更类型 | Change Type

  • ✨ feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 👷 build
  • ⚡️ perf
  • 📝 docs
  • 🔨 chore

🔀 变更说明 | Description of Change

📝 补充信息 | Additional Information

weixin oauth2.0 login,微信登录

Copy link

vercel bot commented Dec 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lobe-chat-database ❌ Failed (Inspect) Dec 10, 2024 5:24am
lobe-chat-preview ❌ Failed (Inspect) Dec 10, 2024 5:24am

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Dec 10, 2024
Copy link

vercel bot commented Dec 10, 2024

@wcu1117 is attempting to deploy a commit to the LobeChat Community Team on Vercel.

A member of the Team first needs to authorize it.

@lobehubbot
Copy link
Member

👍 @wcu1117

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.
非常感谢您提出拉取请求并为我们的社区做出贡献,请确保您已经遵循了我们的贡献指南,我们会尽快审查它。
如果您遇到任何问题,请随时与我们联系。


const provider = {
id: 'wechat',
provider: Wechat({
Copy link
Contributor

Choose a reason for hiding this comment

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

贡献者你好,这里提几个问题:

  1. 这个自定义Provider实现和 @auth/core 的实现的区别是? feat(core/providers): add wechat provider nextauthjs/next-auth#10236
  2. 为了方便我们测试代码正确性,请在 pr 里说明如何进行测试。

Copy link
Author

Choose a reason for hiding this comment

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

你好,我之前并不知道有这个微信登录的功能,不过你发的这个是手机端公众号登录的,或者说是微信浏览器才能登录的,我写的这个参照是的github的代码,使用的微信开发平台,电脑端扫码登录的。

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 | 特性与建议 size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants