Skip to content

Commit

Permalink
chore(oauth): bump oauth2 token lifetimes
Browse files Browse the repository at this point in the history
  • Loading branch information
m90 committed Jan 4, 2024
1 parent 11e0db9 commit afab82e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist-persist/wbstack/src/Settings/LocalSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,8 @@
$wgGroupPermissions['platform']['mwoauthmanageconsumer'] = true;
$wgGroupPermissions['platform']['mwoauthviewprivate'] = true;
$wgGroupPermissions['platform']['mwoauthupdateownconsumer'] = true;
$wgOAuth2GrantExpirationInterval = 'PT24H'; // default is 1 hour
$wgOAuth2RefreshTokenTTL = 'PT1H'; // default is 1 minute

#######################################
## --- Skins --- ##
Expand Down
2 changes: 2 additions & 0 deletions dist/wbstack/src/Settings/LocalSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,8 @@
$wgGroupPermissions['platform']['mwoauthmanageconsumer'] = true;
$wgGroupPermissions['platform']['mwoauthviewprivate'] = true;
$wgGroupPermissions['platform']['mwoauthupdateownconsumer'] = true;
$wgOAuth2GrantExpirationInterval = 'PT24H'; // default is 1 hour
$wgOAuth2RefreshTokenTTL = 'PT1H'; // default is 1 minute

#######################################
## --- Skins --- ##
Expand Down

0 comments on commit afab82e

Please sign in to comment.