logto-io / logto

🧑‍🚀 The better identity infrastructure for developers and the open-source alternative to Auth0.
https://logto.io
Mozilla Public License 2.0
7.91k stars 391 forks source link

feature request: connector for wechat applet(weixin miniprogram) #3013

Open filwaline opened 1 year ago

filwaline commented 1 year ago

What problem did you meet?

I am trying to integrate logto with a WeChat applet, but I couldn't find an existing connector. As a result, I am attempting to create a new connector for the WeChat applet. However, I am facing a challenge because the WeChat applet does not follow the standard social login flow. The standard social flow includes a GetAuthorizationUri method that redirects users to confirm login, but the WeChat applet does not have this step. Instead, the WeChat applet handles user authorization in-place using its own method wx.login and returns an authorization code if the user grants permission. Is there a way to bypass the GetAuthorizationUri and subsequent steps and provide the authorization code directly to logto?

You may also want to check WeChat applet login documentation at link

Describe what you'd like Logto to have

A connector for wechat applet(a.k.a weixin miniprogram).

wangsijie commented 1 year ago

An upgrade on Logto's core connector architecture is required.

ReflexFox commented 1 year ago

+1

zuohuadong commented 1 year ago

+1