# Dingtalk
# Prerequisites
You need to prepare the following in total:
- Create an Authing Account
- Apply for a DingTalk web application
- Fill in the DingTalk web application information in the Authing console
# Apply for Dingding web application
Go toDingTalk Open Platform (opens new window)to register a web application according to the official guidelines, and set the callback link to:
https://core.authing.cn/connection/social/dingtalk/:userPoolId/callback
Please replace
:userPoolId
with your user pool ID
# Fill in the Dingding web application information in the Authing console
After creating the Weibo web application, follow the instructions below to find the DingTalk social login configuration in the Authing console:
Here you need to fill in your Dingding web application information:
- Client ID
- Client Secret
- Redirect:This is your business callback domain name, which is different from the callback link configured in the DingTalk web application. For example, your website domain name is https://example.com and the url for processing Authing callback requests is /auth/dingtalk/callback, then you should fill in as
https://example.com/auth/dingtalk/callback
. If you need to configure the callback link separately in OIDC or OAuth applications, the address here can be filled in: #.
After configuration, please click「OK」to save the information.
# Next
After the configuration is complete, you can start to formally integrate social login into your system. Authing social login supports four access methods: using JavaScrit SDK, using Guard for Web login form component, using Authing online login page As with manually calling the social login interface, for the applicable scenarios and advantages and disadvantages of each method, please refer to: Social Login Access Guide.