Skip to content

Commit

Permalink
add config to enable impersonation feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Thumimku committed Apr 29, 2024
1 parent 6201849 commit cd49a50
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,10 @@
</ClientAttestation>

<OAuth>
<!-- OAuth Impersonation Config -->
<Impersonation>
<Enabled>false</Enabled>
</Impersonation>
<!-- Token cleanup feature config to clean IDN_OAUTH2_ACCESS_TOKEN table-->
<TokenCleanup>
<!--If true old access token cleaning feature is enabled -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,10 @@
</ClientAttestation>

<OAuth>
<!-- OAuth Impersonation Config -->
<Impersonation>
<Enabled>{{oauth.impersonation.enable}}</Enabled>
</Impersonation>
<!-- Token cleanup feature config to clean IDN_OAUTH2_ACCESS_TOKEN table-->
<TokenCleanup>
<!--If true old access token cleaning feature is enabled -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@
"oauth.token_cleanup.enable": true,
"oauth.token_cleanup.retain_access_tokens_for_auditing": false,

"oauth.impersonation.enable": false,

"oauth.use_entityid_as_issuer_in_oidc_discovery": true,
"oauth.token_validation.authorization_code_validity": "5m",
"oauth.token_validation.app_access_token_validity": "1h",
Expand Down

0 comments on commit cd49a50

Please sign in to comment.