Integrate DingTalk OAuth

PRD File: https://docs.google.com/document/d/1EbXRhfh9H_xyYk1aDyBi3WqRiqd6U1J_xVOiKUkMcWY/edit#

Problem to solve

Integrate DingDing OAuth to help users login GitLab by DingTalk account.

Proposal

  1. The user must already have a DingDing account.

  2. The user does not have an account with GitLab.

    Create a new accout with temporary Email (The user then needs to set up real Email), and connect with this DingDing account.

截屏2021-09-27_09.29.20

  1. The user has registered with GitLab and has logged in.

    Connect DingDing account with existed GitLab account.

截屏2021-09-27_09.19.05

Edited by Baodong