Skip to content

Commit 1e02773

Browse files
authored
Merge pull request #17 from jianxiaoguo/dev
chore(docs): add OAuth 2.0 settings
2 parents a5b45fa + fe1160c commit 1e02773

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,20 @@ 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+
OAUTH_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+
OAUTH_ACCESS_API_URL | The URI of the OAuth 2.0 get resources server. (default: "")
102+
OAUTH_CLIENT_ID | The client id.
103+
OAUTH_CLIENT_SECRET | The client secret.
104+
OAUTH_CACHE_USER_TIME | Cache user object, prevent too frequent request to the OAuth 2.0 authentication server.
105+
92106
### Global and per application settings
93107

94108
Setting | Description

0 commit comments

Comments
 (0)