Hanzo
PlatformHanzo IAMIntegrationsJava

Using Hanzo IAM in ShenYu

How to use Hanzo IAM with ShenYu

ShenYu has a Hanzo IAM plugin to enable the use of Hanzo IAM.

Step 1: Deploy Hanzo IAM

Deploy Hanzo IAM first. See Server installation.

After deployment, ensure:

  • The Hanzo IAM server is running on http://localhost:8000.
  • Open your preferred browser and visit http://localhost:7001 to see the Hanzo IAM login page.
  • Login functionality is working fine by inputting admin and 123.

After the above setup, add a Hanzo IAM-based login page with the following steps.

Step 2: Configure the Hanzo IAM application

  1. Create a new Hanzo IAM application or use an existing one
  2. Add your redirect URL Hanzo IAM Application Settings
  3. On the certificate editing page, copy your Certificate Hanzo IAM Certification Settings

Step 3: Use the Hanzo IAM plugin in ShenYu

Configure the Hanzo IAM plugin in ShenYu

Shenyu Plugin Configuration

Note: As ShenYu only has a single line input box, \n must be added in every line of certificate. Hanzo IAM Certification Settings

Paste it into the certificate field of the ShenYu Hanzo IAM config.

You don't need to save it in the Hanzo IAM certificate editing page, as it is only for copying.

Configure the ShenYu Hanzo IAM plugin

Shenyu Hanzo IAM Config Configure the Hanzo IAM settings as needed.

How is this guide?

Last updated on

On this page