DingTalk, WeCom, Lark, Infoflow and WeChat OAuth Login with Casdoor
· 10 min read
Casdoor has built-in OAuth providers for DingTalk, WeCom (WeChat Work), Lark (Feishu), Baidu Infoflow and WeChat. You create an app in each vendor's developer console, paste its credentials into a Casdoor provider, and add the provider to your application. Casdoor runs the vendor flow (QR scan on a desktop, or sign-in inside the vendor's own client), fetches the corporate access token where the vendor needs one, and maps the vendor's user ID to a Casdoor user. Your application only talks OIDC to Casdoor and never sees a DingTalk header, a WeCom user_ticket or a WeChat unionid. For DingTalk, WeCom and Lark, a syncer can also import the whole org directory ahead of the first sign-in.