Skip to content

Commit 9f3c1a7

Browse files
committed
docs: keep README focused
1 parent c3f6314 commit 9f3c1a7

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,12 @@ Create a normal browser navigation to the Payload authorize endpoint from your l
4343

4444
```tsx
4545
export function GoogleLoginButton() {
46-
return <a href="/api/users/oauth/google">Continue with Google</a>;
46+
return <a href="/api/users/oauth/google">Continue with Google</a>
4747
}
4848
```
4949

5050
In Next.js App Router apps, prefer not to start OAuth with `next/link` or `router.push()` for the authorize endpoint. The endpoint returns a redirect to the OAuth provider, not a React Server Component payload. The plugin defensively ignores Next.js RSC navigation probes so client routing can fall back without the noisy `Failed to fetch RSC payload ... Falling back to browser navigation` log, but normal document navigation is still the most direct option.
5151

52-
# Payload auth sessions
53-
54-
For Payload's standard session lifecycle (`auth.useSessions: true` with the local JWT strategy enabled), OAuth logins create a Payload session and sign its `sid` into the `payload-token` cookie. Later auth requests validate that `sid` against `user.sessions`, so Payload refresh works after OAuth login and logout/session revocation is honored.
55-
5652
# Contributing
5753

5854
Contributions and feedback are very welcome.

0 commit comments

Comments
 (0)