← Back to plugin index

OAuth 2.0 Client ID Pattern UI Tenant ID Rule

Description
Sets the UI Tenant ID to a static value if the OAuth 2.0 client ID for an authorization code grant request matches a regex pattern.
Type name
OAuth2ClientIdPatternUiTenantIdRule
Class
com.airlock.iam.oauth2.application.configuration.OAuth2ClientIdPatternUiTenantIdRuleConfig
May be used by
License-Tags
OAuthServer
Properties
OAuth 2.0 Client ID Pattern (clientIdPattern)
Description
If the OAuth 2.0 client ID matches this pattern, the UI tenant ID will be set to the value of UI Tenant ID Value.
Attributes
RegEx
Mandatory
UI Tenant ID Value (uiTenantIdValue)
Description
If the OAuth 2.0 client ID matches OAuth 2.0 Client ID Pattern, the UI tenant ID will be set to the value configured by this plugin. This replacement pattern may contain back-references to the pattern configured in OAuth 2.0 Client ID Pattern.
Attributes
String
Mandatory
Example
$1
Example
fixed-value
Example
tenant-id-$1
YAML Template (with default values)

type: OAuth2ClientIdPatternUiTenantIdRule
id: OAuth2ClientIdPatternUiTenantIdRule-xxxxxx
displayName: 
comment: 
properties:
  clientIdPattern:
  uiTenantIdValue: