8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e407fb commit d15c1d5Copy full SHA for d15c1d5
docs/admin/users/idp-sync.md
@@ -595,3 +595,13 @@ user is granted the necessary permissions to obtain refresh tokens.
595
By combining the `{"access_type":"offline"}` parameter in the OIDC Auth URL with
596
the `offline_access` scope, you can achieve the desired behavior of obtaining
597
refresh tokens for offline access to the user's resources.
598
+
599
+### Google
600
601
+If you're using Google directly, you will likely want to set `prompt=consent` on
602
+your auth URL to ensure you get refresh tokens. Without this, users will be
603
+logged out of Coder after 1 hour.
604
605
+```
606
+CODER_OIDC_AUTH_URL_PARAMS={"access_type": "offline", "prompt": "consent"}
607
0 commit comments