Skip to content

Commit 98b1a42

Browse files
deadlypants1973ranbel
authored andcommitted
[CF1] google infinite loop error (#21705)
* [CF1] google infinite loop error * Update src/content/docs/cloudflare-one/faq/troubleshooting.mdx Co-authored-by: ranbel <[email protected]> --------- Co-authored-by: ranbel <[email protected]>
1 parent 0af62dd commit 98b1a42

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

src/content/docs/cloudflare-one/applications/configure-apps/saas-apps/google-workspace-saas.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The integration of Access as a single sign-on provider for your Google Workspace
3535

3636
:::caution
3737

38-
When you put your Google Workspace behind Access, users will not be able to log in using [Google](/cloudflare-one/identity/idp-integration/google/) or [Google Workspace](/cloudflare-one/identity/idp-integration/google-workspace/) as an identity provider.
38+
When you put your Google Workspace behind Access, users will not be able to log in using [Google](/cloudflare-one/identity/idp-integration/google/) or [Google Workspace](/cloudflare-one/identity/idp-integration/google-workspace/) as an identity provider. To secure Google Workspace behind Access and avoid an [authentication loop](/cloudflare-one/faq/troubleshooting/#after-putting-google-workspace-behind-access-i-cant-log-in-it-keeps-redirecting-between-access-and-google-without-ever-completing-authentication), you must configure a different identity provider (not Google or Google Workspace) for authentication.
3939
:::
4040

4141
4. [Create an Access policy](/cloudflare-one/policies/access/) for your application. For example, you could allow users with an `@your_domain.com` email address.

src/content/docs/cloudflare-one/faq/troubleshooting.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,3 +335,9 @@ To resolve this error, review the following options:
335335
| `0` (disabled) | **Enabled / Default** | ❌ Blank screen |
336336
| `0` (disabled) | **Disabled** | ✅ Works - browser will use local IP address |
337337
| `2` (enabled) | **Enabled / Default** | ✅ Works - mDNS resolves successfully |
338+
339+
## After putting Google Workspace behind Access, I can’t log in. It keeps redirecting between Access and Google without ever completing authentication.
340+
341+
When you put your Google Workspace behind Access, users will not be able to log in using Google or Google Workspace as an identity provider.
342+
343+
This configuration creates an authentication loop. Cloudflare Access tries to authenticate the user via Google, but Google itself treats Cloudflare as its identity provider and requires authentication from Cloudflare. Since each system depends on the other to complete login first, the user is caught in an infinite redirect cycle and can never successfully authenticate.

src/content/docs/cloudflare-one/identity/idp-integration/google-workspace.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { GlossaryTooltip, Render } from "~/components";
77

88
:::note
99

10-
The Google Workspace IdP integration is not supported if your Google Workspace account is protected by Access.
10+
The Google Workspace IdP integration [is not supported](/cloudflare-one/faq/troubleshooting/#after-putting-google-workspace-behind-access-i-cant-log-in-it-keeps-redirecting-between-access-and-google-without-ever-completing-authentication) if your Google Workspace account is protected by Access.
1111
:::
1212

1313
You can integrate a Google Workspace (formerly G Suite) account with Cloudflare Access. Unlike the instructions for [generic Google authentication](/cloudflare-one/identity/idp-integration/google/), the steps below will allow you to pull group membership information from your Google Workspace account.

0 commit comments

Comments
 (0)