Skip to content

Commit afd57d6

Browse files
Update README.md (#3123)
* Update README.md Signed-off-by: Julius von Kohout <45896133+juliusvonkohout@users.noreply.github.com> * Update README.md Signed-off-by: Julius von Kohout <45896133+juliusvonkohout@users.noreply.github.com> --------- Signed-off-by: Julius von Kohout <45896133+juliusvonkohout@users.noreply.github.com>
1 parent 8680bf7 commit afd57d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common/oauth2-proxy/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ data:
9393
oauth2_proxy.cfg: |
9494
provider = "oidc"
9595
oidc_issuer_url = "https://login.microsoftonline.com/$MY_TENANT/v2.0"
96-
scope = "openid email profile" # remove groups since they are not used yet
96+
scope = "openid email offline_access" # removed groups and profile to decrease the size and added offline_access to enable refresh tokens
9797
email_domains = [ "*" ]
9898
9999
# serve a static HTTP 200 upstream on for authentication success
@@ -126,7 +126,7 @@ data:
126126
set_xauthrequest = true
127127
cookie_name = "oauth2_proxy_kubeflow"
128128
cookie_expire = "24h"
129-
cookie_refresh = "1h" # This improves the user experience a lot
129+
cookie_refresh = "59m" # This improves the user experience a lot
130130
redirect_url = "https://$MY_PUBLIC_KUBEFLOW_DOMAIN/oauth2/callback"
131131
relative_redirect_url = false
132132
```

0 commit comments

Comments
 (0)