new: 新建文件 GitCode_CSDN_OAuth_Login_Guide.md

Signed-off-by: Hly2700w <649956073@qq.com>
This commit is contained in:
Hly2700w
2025-09-11 13:56:22 +08:00
parent 64a94eaf2c
commit 899aa0325c
+76
View File
@@ -0,0 +1,76 @@
# Guide to Logging into GitCode with Your CSDN Account
## English Version
### Introduction
GitCode supports seamless third-party login via your CSDN account. This guide will walk you through the process, whether you're an existing CSDN user or need to create a new account. Follow the steps below to get started quickly.
### Step-by-Step Instructions
1. **Visit the Official Website**
Open your web browser and go to the [GitCode official website](https://gitcode.com/).
2. **Click Login**
On the homepage, click the **"Log in"** button in the top-right corner. A login dialog will pop up.
![image.png](https://raw.gitcode.com/user-images/assets/5217310/987f35a5-0353-4852-83e7-9739e0957c2e/image.png 'image.png')
3. **Select CSDN Login**
In the login dialog, find and click on **"Other Login Methods"** (其他登录方式), then select **"Log in with CSDN Account"** (CSDN账号登录).
![image-1.png](https://raw.gitcode.com/user-images/assets/5217310/5d79600d-b6a0-4f9c-ab68-5827228910e9/image-1.png 'image-1.png')
4. **Agree and Redirect**
After agreeing to the GitCode *User Agreement* and *Privacy Policy*, you will be redirected to CSDN's authorization page.
![image-2.png](https://raw.gitcode.com/user-images/assets/5217310/321d3222-db75-47f2-88c1-a89157a15408/image-2.png 'image-2.png')
5. **Choose Verification Code Login**
On the CSDN login page, select the **"Verification Code Login"** (验证码登陆) option.
![image-3.png](https://raw.gitcode.com/user-images/assets/5217310/e94f7ec8-74f1-46a2-ac32-72b5964db0cb/image-3.png 'image-3.png')
6. **Enter Phone Number and Get Code**
Select your country code (e.g., +86 for China), enter your mobile phone number, and request an SMS verification code.
![image-4.png](https://raw.gitcode.com/user-images/assets/5217310/2436132f-f80f-47a0-80e1-18ea8efabf3d/image-4.png 'image-4.png')
7. **Log In / Register**
Enter the verification code you received and click the **"Log In / Register"** (登陆/注册) button.
- **7.1 If your number is not registered with CSDN**: You will see a page to set up a CSDN account. You can choose a username or skip to register quickly with your phone number.
![image-7.png](https://raw.gitcode.com/user-images/assets/5217310/56489ef5-c540-4090-81e1-ac435178d6df/image-7.png 'image-7.png')
- **7.2 After successful registration**: A success message will appear, and you will be automatically redirected back to GitCode.
![image-8.png](https://raw.gitcode.com/user-images/assets/5217310/ba9ca2bb-2ee1-46ee-9cf6-7401e5675d0e/image-8.png 'image-8.png')
- **7.3 If your number has a CSDN account**: You will be verified directly and proceed to the next step.
8. **Authorize GitCode**
You will be back on GitCode's authorization page. Please read and check the boxes to agree to the ***GitCode User Agreement***, ***GitCode Privacy Policy***, ***Huawei Cloud User Agreement***, and ***Huawei Cloud Privacy Policy***. Finally, click the **"Authorize and Log In"** (授权并登陆) button.
![image-5.png](https://raw.gitcode.com/user-images/assets/5217310/fdcd3786-127d-47e9-8f46-420ba707f0b9/image-5.png 'image-5.png')
9. **Login Successful**
Congratulations! You have now successfully logged into your GitCode account and are ready to explore.