Skip to content

Commit 9a5c1e9

Browse files
author
lijianguo
committed
chore(docs): add OAuth 2.0 settings
1 parent dfb2ace commit 9a5c1e9

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

src/managing-workflow/tuning-component-settings.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,19 @@ LDAP_USER_FILTER | The name of the login field in the users search base (defau
8989
LDAP_GROUP_BASEDN | The distinguished name of the search base for user's groups names (default: "")
9090
LDAP_GROUP_FILTER | The filter for user's groups (default: "", example: ```objectClass=person```)
9191

92+
### OAuth 2.0 Password Grant settings
93+
94+
The following environment variables are available for enabling OAuth 2.0 Password Grant.
95+
If you have configured both of LDAP authentication and OAuth 2.0, LDAP authentication first.
96+
authentication of user accounts in the [Controller][] component:
97+
98+
Setting | Description
99+
-------------------------| ---------------------------------
100+
OAUTH2_ACCESS_TOKEN_URL | The URI of the OAuth 2.0 get token server. (default: ""). If not specified, OAuth 2.0 authentication is not enabled(default: "", example: ```http://hostname```).
101+
OAUTH2_ACCESS_API_URL | The URI of the OAuth 2.0 get resources server. (default: "")
102+
OAUTH2_CLIENT_ID | The client id.
103+
OAUTH2_CLIENT_SECRET | The client secret.
104+
92105
### Global and per application settings
93106

94107
Setting | Description

0 commit comments

Comments
 (0)