Skip to content

Honor

Scenario Introduction

  • Overview: Honor social login allows users to log in to third-party applications or websites securely using Honor as the identity source. Configure and enable Honor social login in GenAuth to quickly obtain Honor's basic open information and help users log in without passwords through GenAuth.
  • Application scenario: PC website
  • Terminal user preview image:

Notes

Step 1: Create a server application in Honor

Log in to Honor Developer Service Platform, click Management Center:

On the Management Center page, click Account Service:

On the Account Service page, click Operations in sequence Please select application → Web application → New application:

Select platform type as Web → Fill in application name → Select default language → Upload application icon → Create

Go back to the Account Service page and click Enable

Configure Application callback address

  • Application callback address: Fill in https://core.genauth.ai/connection/social/{Unique ID}/{User Pool ID}/callback, you need to replace {Unique ID} with the Unique ID filled in the identity source you are creating in GenAuth, and {User Pool ID} with your User Pool ID

Finally, click "Submit". After the creation is completed, you need to record the Application ID and APP SECRET, which will be used in the next step.

Step 2: Configure Honor application configuration in the GenAuth console

2.1 On the "Social Identity Source" page of the GenAuth console, click the "Create Social Identity Source" button to enter the "Select Social Identity Source" page.

2.2 On the "Select Social Identity Source" page, click the "Honor" card.

2.3 On the "Honor" configuration page, fill in the relevant field information.

FieldDescription
Unique IDa. The unique ID consists of lowercase letters, numbers, and -, and its length is less than 32 bits.
b. This is the unique ID of this connection and cannot be modified after setting.
Display NameThis name will be displayed on the button of the terminal user's login interface.
APP IDThe Honor application ID obtained in the previous step.
APP SecretThe Honor application Secret obtained in the previous step.
Login ModeAfter turning on "Login Only Mode", you can only log in to existing accounts and cannot create new accounts. Please choose carefully.
Account Identity AssociationWhen "Account Identity Association" is not turned on, a new user is created by default when a user logs in through an identity source. After turning on "Account Identity Association", users can be allowed to log in directly to an existing account through "Field Matching" or "Query Binding".

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

Step 3: Development Access

  • Recommended development access method: Use a hosted login page

  • Pros and cons description: 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 "Honor" identity source connection details page, open and associate an application created in the GenAuth console

3.3 Click the "Experience Login" button of the GenAuth console application to experience the "Honor" login in the pop-up login window

Agent infrastructure for identity, memory, and web action.