← Back to plugin index

OAuth 2.0 Consent Repository

Description
OAuth 2.0 / OpenID Connect Consent Repository for relational databases. For each OAuth 2.0 / OpenID Connect Authorization Server and Client, the consent repository stores whether the user has granted or denied a certain OAuth 2.0 scope.
Type name
OAuth2ConsentRepository
Class
com.airlock.iam.oauth2.application.configuration.consentstorage.OAuth2ConsentRepositoryConfig
May be used by
License-Tags
OAuthServer
Properties
SQL Data Source (sqlDataSource)
Description
Defines how connections to the database are obtained.
Attributes
Plugin-Link
Mandatory
Assignable plugins
Log Queries (logQueries)
Description

If enabled, all SQL queries executed on this repository will be written to the module's corresponding log file. This is only effective if the log level is set to at least INFO.

Warning: query values (including potentially sensitive data) will be logged as well.

Attributes
Boolean
Optional
Default value
false
Tenant ID (tenantId)
Description

Identifier added to the database records to distinguish between different tenants. Only consents that match the tenant ID specified here will be retrieved on query.

If left empty, 'no_tenant' is used as the effective value for tenant ID.

Attributes
String
Optional
Length <= 50
Validation RegEx: (?!no_tenant$).*
Example
customerA
Example
customerB
YAML Template (with default values)

type: OAuth2ConsentRepository
id: OAuth2ConsentRepository-xxxxxx
displayName: 
comment: 
properties:
  logQueries: false
  sqlDataSource:
  tenantId: