Skip to content

Commit 2cf5f1e

Browse files
authored
fix(docs): fix auth proxy docs
1 parent 1028101 commit 2cf5f1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/docs/docs/03-backend/auth.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,6 @@ The `Session` type has two properties:
7575

7676
`auth-proxy` is a simple proxy server that enables OAuth authentication for preview environments. Since the Vercel preview environment results in changing URLs, the OAuth flow is broken since we can't whitelist all the URLs (as redirect URLs) on GCP. Google also does _not_ permit the use of wildcard characters in the redirect URLs.
7777

78-
The `auth-proxy` server is a [Nitro](https://nitro.unjs.io/)-based route handler that acts as an intermediate authentication server. Since we use Vercel Egde function to host this, the production URL for the authentication server never changes. The server is used only in the preview environment.
78+
The `auth-proxy` server is a [Nitro](https://nitro.unjs.io/)-based route handler that acts as an intermediate authentication server. Since we use Vercel Egde function to host this, the production URL for the authentication server never changes.
7979

8080
In the past, we have used the `CredentialProvider` to handle the authentication flow. This proxy server ensures that we truly authenticate the user in the preview environment using OAuth, allowing the preview to be as close to the production environment as possible.

0 commit comments

Comments
 (0)