-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1105 from lsst-sqre/tickets/DM-46399
DM-46399: Check that token lifetime is long enough
- Loading branch information
Showing
4 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
### Bug fixes | ||
|
||
- Check that `tokenLifetime` is at least as long as twice the minimum token lifetime. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Test too short of a token lifetime. | ||
|
||
realm: "example.com" | ||
slackAlerts: true | ||
initialAdmins: ["admin"] | ||
afterLogoutUrl: "https://example.com/landing" | ||
groupMapping: | ||
"exec:admin": ["admin"] | ||
knownScopes: | ||
"admin:token": "token administration" | ||
"exec:admin": "admin description" | ||
"user:token": "Can create and modify user tokens" | ||
github: | ||
clientId: "some-github-client-id" | ||
tokenLifetime: "8m" |