Skip to content

Commit add798e

Browse files
karelyatinpraveenkumar
authored andcommitted
Set ouath user token expiration time to 365 days
With [1] it was attempted to set token expiration to infinite but as described in [2] with the config set to 0, token expiration is set to default i.e 24 hours. With this patch setting it to a larger value i.e 365 days. [1] #332 [2] https://bugzilla.redhat.com/show_bug.cgi?id=1959776 Related-Issue: #331
1 parent 92665cd commit add798e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

oauth_cr.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ metadata:
44
name: cluster
55
spec:
66
tokenConfig:
7-
accessTokenMaxAgeSeconds: 0
7+
# token max age set to 365 days
8+
accessTokenMaxAgeSeconds: 31536000
89
identityProviders:
910
- name: developer
1011
mappingMethod: claim

0 commit comments

Comments
 (0)