Sina Weibo Mobile
Scenario Introduction
Overview
Sina Weibo social login is a user's secure login to a third-party application or website using Sina Weibo as the identity source. Configure and enable Sina Weibo social login in GenAuth, and you can quickly obtain basic open information of Sina Weibo through GenAuth and help users achieve password-free login.
Application Scenario
Mobile
Terminal User Preview

Notes
- If you have not opened a Weibo Open Platform account, please go to Weibo Open Platform to register a developer account.
- You need to pass identity authentication before you can create an application.
- If you have not opened a GenAuth console account, please go to GenAuth console to register a developer account.
Step 1: Create an application on Weibo Open Platform
Go to Weibo Open Platform and follow the official instructions to create a mobile application.


Click the avatar icon in the upper right corner of the page, select Developer Information to perform basic information and identity authentication, and create a mobile application after the authentication is passed. If you have any unsolvable problems, you can send a private message to Weibo Open Platform for consultation.

During the application creation process, you need to configure the allowed callback address. Please use the following settings: https://core.genauth.ai/connection/social/<Unique Identifier>/<USERPOOL_ID>/callback. You need to replace <Unique Identifier> with your Unique Identifier and <USERPOOL_ID> with your User Pool ID
Step 2: Configure Sina Weibo in the GenAuth console
2.1 Please click the "Create Social Identity Source" button on the "Social Identity Source" page of the GenAuth console to enter the "Select Social Identity Source" page.

2.2 Please go to the GenAuth console's "Social Identity Source" - "Select Social Identity Source" page, click the "Sina Weibo" identity source button to enter the "Sina Weibo Login Mode" page.

2.3 Please go to the GenAuth console's "Social Identity Source" - "Sina Weibo Mobile" page to configure the relevant field information.

| Field/Function | Description |
|---|---|
| Unique ID | a. The unique ID consists of lowercase letters, numbers, and -, and is less than 32 bits long. b. This is the unique ID for this connection and cannot be modified after setting. |
| Display Name | This name will be displayed on the button of the terminal user's login interface. |
| APP ID | Sina Weibo ID, which needs to be obtained on Weibo Open Platform. |
| App Secret | Sina Weibo key, which needs to be obtained on Weibo Open Platform. |
| Callback Address | Sina Weibo valid jump URI. This URL needs to be configured on the authorization callback page of Weibo Open Platform mobile application. |
| Login Mode | After turning on "Login Only Mode", you can only log in to existing accounts, and cannot create new accounts. Please choose carefully. |
After the configuration is completed, click the "Create" or "Save" button to complete the creation.
After creating the Sina Weibo identity source on the GenAuth console, you need to configure the callback address to the authorization callback page in the platform information on Weibo Open Platform.

Step 3: Development access
Recommended development access method: SDK
Advantages and disadvantages: Simple operation and maintenance, which is handled by GenAuth. Each user pool has an independent secondary domain name; if you need to embed it in your application, you need to log in using the pop-up mode, that is: after clicking the login button, a window will pop up with the login page hosted by GenAuth, or redirect the browser to the login page hosted by GenAuth.
Detailed access method:
3.1 Create an application in the GenAuth console. For details, see: How to create an application in GenAuth
3.2 On the created Sina Weibo identity source connection details page, open and associate an application created in the GenAuth console

3.3 Experience Sina Weibo third-party login on the login page (as shown in the [end user preview image](#end user preview image)).