Hanzo
PlatformHanzo IAMProvidersOAuth

Lark OAuth

Add Lark (Feishu) as an OAuth provider.

Create a Lark application

On the Lark Open Platform, create an application and enable it. In the app’s basic information, note App ID and App Secret. In security settings, add the redirect URL: <your-iam-domain>/callback (e.g. https://door.example.com/callback).

create a new app add redirect URL

Create the provider in Hanzo IAM

ProvidersAdd. Set Category to OAuth, Type to Lark. Map:

Hanzo IAMLark
Client IDApp ID
Client secretApp Secret

create a Lark OAuth provider

Username handling

Hanzo IAM chooses the username from Lark’s response in this order: UserId (preferred), UnionId (links users across Lark orgs), OpenId (fallback, always present). This keeps sign-in working even when some fields are missing.

How is this guide?

Last updated on

On this page