All Products
Search
Document Center

AI Coding Assistant Lingma:OIDC integration

Last Updated:Apr 03, 2025

OpenID Connect (OIDC) integration allows you to connect OIDC authentication services to enable single sign-on (SSO)..

Applicable editions

Enterprise Dedicated

Create users outside the sync scope

Administrators can set up and manage OIDC integration in Enterprise Settings > Identity Providers. To create users not included in OIDC, select Support for built-in users: You can create users outside the sync scope.

image

Configure OIDC

Step 1: Configure the OIDC client

Before configuring OIDC, create an OIDC Client first with the following information:

  • Client ID

  • Client Secret

  • Issuer URL

image

Click Next once you have finished filling in all the fields.

Step 2: Configure user sync

System will link accounts with any of the following matching attribute across OIDC and AI Coding Assistant Lingma:

  • Link Accounts with Same Email

  • Link Accounts with Same Username

  • Link Accounts with Same Mobile Number

  • Link Accounts with Employee ID

Ensure the uniqueness and existence of the attribute, as Lingma will perform one-to-one account matching based on it. The following picture explains the procedure of linking accounts.

image

Fill in the following fields. Lingma will link accounts based on the information you have entered.

image

Click Next once you have finished filling in all the fields.

Step 3: Enable single sign-on

By default, the single sign-on feature is not enabled. Once it is enabled, you can customize the following OIDC single sign-on settings:

  • Configure the webhook address of Lingma in OIDC Client.

  • Update the OIDC client name and icon. Lingma will display the updates accordingly.

  • Configure advanced settings:

    • Disabled by default: Lingma account creation is not allowed when you log on to Lingma with OIDC account that does not have a linked Lingma account.

    • Enabled: Allow you to create a Lingma account when you log on to Lingma with OIDC account that does not have a linked Lingma account. The created Lingma account will automatically be linked to the OIDC account.

image

You can also enable Single Sign-on later from the OIDC Identity Providers page by clicking Edit Settings.

image

Click Save once you have finished filling in all the fields.

Log on to Lingma through OIDC

When Single Sign-on is enabled, the OIDC logon option will appear on the Lingma logon page. Select OIDC and you'll be redirected to the logon page where you can log on to Lingma with OIDC account.

Log off from Lingma

Logging off from Lingma will cause logging off from OIDC.

Modify OIDC configuration

On the Identity Providers page, click View Details to enter OIDC configuration page. The View/Edit Settings option is available. Select the option to update the attribute mapping. Other configuration details cannot be changed.

Disable single sign-on

You can disable single sign-on on Identity Providers page by clicking Edit Settings:

  • The link between Lingma and OIDC accounts will remain intact.

  • Logging on to Lingma via OIDC accounts will no longer be supported, but you can use Lingma account to log on.

Remove OIDC integration

To remove OIDC integration, click Remove Integration on the Identity Providers page. Once removed:

  • The link between Lingma and OIDC accounts will be removed.

  • Logging on to Lingma via OIDC will not be supported, but you can use Lingma account to log on.

image