Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: expose timeouts #271

Merged
merged 8 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/reference/UDS Core/IdAM/customization.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,11 @@ overrides:
TERMS_AND_CONDITIONS_ENABLED: true
PASSWORD_POLICY: <fill in value here>
X509_OCSP_FAIL_OPEN: true
ACCESS_TOKEN_LIFESPAN: 600
SSO_SESSION_LIFESPAN_TIMEOUT: 1200
```

> These environment variables can be found in the [realm.json](https://github.com/defenseunicorns/uds-identity-config/blob/main/src/realm.json) `identityProviders` section.
> These environment variables can be found in the [realm.json](https://github.com/defenseunicorns/uds-identity-config/blob/main/src/realm.json).

### Customize Truststore

Expand Down
8 changes: 4 additions & 4 deletions src/realm.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"displayNameHtml": "Identity Service",
"notBefore": 0,
"defaultSignatureAlgorithm": "RS256",
"revokeRefreshToken": false,
"refreshTokenMaxReuse": 0,
"accessTokenLifespan": 300,
"revokeRefreshToken": true,
"refreshTokenMaxReuse": 1,
mjnagel marked this conversation as resolved.
Show resolved Hide resolved
"accessTokenLifespan": "${REALM_ACCESS_TOKEN_LIFESPAN:300}",
"accessTokenLifespanForImplicitFlow": 900,
"ssoSessionIdleTimeout": 600,
"ssoSessionIdleTimeout": "${REALM_SSO_SESSION_LIFESPAN_TIMEOUT:600}",
"ssoSessionMaxLifespan": 36000,
"ssoSessionIdleTimeoutRememberMe": 0,
"ssoSessionMaxLifespanRememberMe": 0,
Expand Down
8 changes: 4 additions & 4 deletions src/test/cypress/realm.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"displayNameHtml": "Identity Service",
"notBefore": 0,
"defaultSignatureAlgorithm": "RS256",
"revokeRefreshToken": false,
"refreshTokenMaxReuse": 0,
"accessTokenLifespan": 300,
"revokeRefreshToken": true,
"refreshTokenMaxReuse": 1,
"accessTokenLifespan": "${REALM_ACCESS_TOKEN_LIFESPAN:300}",
"accessTokenLifespanForImplicitFlow": 900,
"ssoSessionIdleTimeout": 600,
"ssoSessionIdleTimeout": "${REALM_SSO_SESSION_LIFESPAN_TIMEOUT:600}",
"ssoSessionMaxLifespan": 36000,
"ssoSessionIdleTimeoutRememberMe": 0,
"ssoSessionMaxLifespanRememberMe": 0,
Expand Down
Loading