Authing DocsDocuments
Concept
Guides
Development Integration
Application integration
Concept
Guides
Development Integration
Application integration
Old Version
Guides
  • Quick start

  • Authenticate the user

  • Authority management for users

  • Authorization

  • Manage user accounts

  • Manage User Directory

  • Management Application

  • Become a source of federal authentication identity

  • Connect to an external identity provider (IdP)

    • Social Identity Provider

      • WeChat QR Code on PC
      • Mini Program QR Code on PC
      • WeChat Official Accounts QR Code
      • Mobile App Use WeChat Login
      • Mobile App Use WeChat Mini Program Login
      • WeChat Web Page
      • WeChat Mini Program
      • Tencent QQ
      • Sina Weibo
      • GitHub
      • Facebook
      • Twitter
      • Google
      • Apple Mobile
      • Apple Web
      • Alipay
      • Slack
      • Gitee
      • GitLab
      • Baidu
      • NetEase YIDUN
      • QingCloud
      • Instagram
      • LinkedIn
    • Enterprise Identity Provider

    • Custom database

  • Open up WeChat ecology
  • Migrate users to Authing

  • Management organization

  • Expandable capabilities

  • Audit Log

  • Configure security information

  • Configure user pool information

  • Deployment plan

  • Frequently Asked Questions FAQs

  1. Guides
  2. /
  3. Connect to an external identity provider (IdP)
  4. /
  5. Social Identity Provider
  6. /
  7. Baidu

¶ Baidu social login

Update Time: 2022-08-25 13:39:50
Edit

¶ Scene introduction

  • Overview: Baidu social login is a secure login for users to third-party applications or websites using Baidu as their identity source. By configuring and enabling Baidu's social login in Authing, you can quickly obtain Baidu's basic open information and help users achieve password-free login through Authing.
  • Application scenario: Baidu OAuth application
  • End User Preview:

¶ Precautions:

  • If you have not registered a Baidu developer account, please go to Baidu Developer Center (opens new window) to register a developer account.
  • If you do not have a Authing console account, please go to the Authing console (opens new window) to register a developer account.

¶ Step 1: Create a website application on Baidu Open Platform

  • Register Baidu Developer Center (opens new window), log in and go to Baidu Developer Service Management Console (opens new window), Fill in the developer information and create a project (application):
  • After the creation is complete, you need to record the API Key (ie Client ID) and Secret Key (ie Client Secret) of the application, which will be used later.

On the security settings page, set the authorization callback page address to: https://core.authing.cn/connection/social/baidu/<YOUR_USERPOOL_ID>/callback

Replace <YOUR_USERPOOL_ID> in it with your user pool ID.

¶ Step 2: Configure Baidu in the Authing console

2.1 Please click the "Create Connection" button on the "Social" page of the Authing console to enter the "Choosing a Social Identity Source" page.

2.2 Please click the "Baidu" identity source button on the "Create Connection" - "Choosing a Social Identity Source" page of the Authing console to enter the "Baidu Login Mode" page.

2.3 Please configure the relevant field information on the "Social" - "Baidu" page of the Authing console.

Field/functiondescribe
Unique Identifiera. The unique identifier consists of lowercase letters, numbers, and -, and the length is less than 32 bits. b. This is the unique identifier of this connection and cannot be modified after setting.
Display NameThis name will be displayed on buttons on the end user's login screen.
API KeyBaidu App ID, which needs to be obtained from the Baidu Developer Center.
Secret KeyBaidu application key, which needs to be obtained on the Baidu Developer Center.
Callback AddressBaidu Developer Center Valid Jump URI. This URL needs to be configured on the Baidu Developer Center.
Login ModeAfter "Login Only Mode" is enabled, you can only log in to an existing account and cannot create a new account. Please choose carefully.

After the configuration is complete, click the "Create" or "Save" button to complete the creation.

After creating the Baidu identity source on the Authing console, you need to configure the callback address to the authorization callback page on the Baidu Open Platform.

¶ Step 3: Development Access

  • Recommended development access method: use the hosted login page

  • Description of advantages and disadvantages: Simple operation and maintenance, and Authing is responsible for operation and maintenance. Each user pool has an independent second-level domain name; if you need to embed it into your application, you need to use the pop-up mode to log in, that is: after clicking the login button, a window will pop up with the content of Authing hosting login page, or redirect the browser to the login page hosted by Authing.

  • Detailed access method:

3.1 Create an app in the Authing console. For details, see: How to create an app in Authing

3.2 On the created Baidu identity source connection details page, open and associate an application created in the Authing console

3.3 Experience Baidu third-party login on the login page

Prev: GitLab Next: NetEase YIDUN
  • Scene introduction
  • Precautions:
  • Step 1: Create a website application on Baidu Open Platform
  • Step 2: Configure Baidu in the Authing console
  • Step 3: Development Access

User identity management

Integrated third-party login
Mobile phone number flash check (opens new window)
Universal login form component
Custom authentication process

Enterprise internal management

Single Sign On
Multi-factor Authentication
Authority Management

Developers

Development Document
Framework Integration
Blog (opens new window)
GitHub (opens new window)
Community User Center (opens new window)

Company

400 888 2106
sales@authing.cn
16 / F, Block B, NORTH STAR CENTURY CENTER, Beijing(Total)
room 406, 4th floor, zone B, building 1, No. 200, Tianfu Fifth Street, Chengdu(branch)

Beijing ICP No.19051205-1

© Beijing Steamory Technology Co.