Repository navigation
Add per-identity-provider override for Supervisor session lifetime - #3287
JHansen2000 wants to merge 2 commits into
Conversation
FederationDomain.spec.identityProviders[] now accepts an optional sessionLifetimeSeconds, letting administrators extend the default 9-hour refresh token lifetime for a specific identity provider. Addresses vmware#1004. Signed-off-by: Jacob Hansen <2000.jihansen@gmail.com>
✅ Deploy Preview for pinniped-dev canceled.
|
🛑 Legal Compliance Check FailedHi @JHansen2000, thank you for your contribution! To merge this Pull Request, you must sign our DCO. Note: Even if you signed off your commits locally (using 1. Read the Document: Click here to read the DCO ⏳ Processing Schedule: |
Signed-off-by: Jacob Hansen <2000.jihansen@gmail.com>
17caf28 to
8d24105
Compare
Add per-identity-provider override for Supervisor session lifetime
Adds an optional
sessionLifetimeSecondsfield toFederationDomain.spec.identityProviders[], letting administrators override the Supervisor's default 9-hour refresh token lifetime on a per-identity-provider basis. This can be set shorter or longer than the default.This does not change how or when the upstream identity provider expires its own tokens or session- the upstream IDP's expiration still governs independently, and can still end a Supervisor session earlier than this value if it expires first. This setting only adjusts how long the Supervisor's own refresh token may be used before the user must interactively reauthenticate.
Documentation has been updated to describe the new field and its interaction with the existing 9-hour default.
The codegen tooling was used to regenerate the Go API code and CRD manifests under
generated/.Fixes #1004
Testing
main.main. New unit tests were added to cover this change.main. No new integration tests were added as part of this change.Release Note
Release note: