Configuring DingTalk QR Code Login

Authentication Source

# Overview

This section describes the configuration process for the DingTalk QR code login function. After configuring the integrated DingTalk authentication source on the IDaaS platform, refer to this module to configure DingTalk QR code login for various application systems.

# Prerequisites

  • Have access management permissions for the IDaaS Enterprise Center.
  • Have already created an application in the DingTalk developer backend.
  • The application has been integrated on the IDaaS platform.
  • Have already configured the DingTalk authentication source on the IDaaS platform.

# Configuration Process

# Steps

# Configuring DingTalk Authentication for the Application

  1. Log in to the IDaaS Enterprise Center platform. In the top navigation bar, select "Resources > Applications". Taking the User Center application as an example, select "User Center", switch to the "Login Configuration" tab, scroll down to DingTalk, and enable the previously added DingTalk authentication source.

# Verifying DingTalk QR Code Login

  1. Log in to the User Center. On the application system login page, select DingTalk Login.

    The DingTalk QR code login process is related to the "Auto-bind" option in Configuring the DingTalk Authentication Source. The QR code login flow differs when this option is enabled versus disabled. It is recommended to enable this option.

# Auto-bind Option Enabled

  1. Use the DingTalk app to scan the QR code to log in. If it is the user's first time scanning to log in, the system will automatically bind the account based on the Source Association Attribute and User Association Attribute configured on the DingTalk Authentication Source page, without requiring the user to enter a phone number and verification code for binding. If the user has logged in before, they will directly enter the application system. If the DingTalk binding fails, different processes can be followed based on the When User is Not Associated scenario on the authentication source.

# Auto-bind Option Disabled

  1. Use the DingTalk app to scan the QR code to log in. If it is the user's first time scanning to log in, an interface for entering a phone number and verification code to bind an existing user will appear. If already bound, the user will directly enter the application.