docs: Sign in with Google auth recipe#6787
Conversation
Merging this PR will not alter performance
Comparing Footnotes
|
Greptile SummaryAdds a new "Sign in with Google" recipe page under
Confidence Score: 5/5Documentation-only change with no runtime impact; safe to merge. Both changed files are pure documentation — a new Markdown recipe page and a one-line sidebar addition. No application logic, state management, or security-sensitive code is touched. The API reference code block in docs/authentication/google.md is missing TypedDict and Callable imports, making it non-self-contained, but this has no runtime consequences. Important Files Changed
Reviews (2): Last reviewed commit: "docs: add Sign in with Google page to Au..." | Re-trigger Greptile |
| ```python exec | ||
| import reflex as rx | ||
| ``` | ||
|
|
||
| # Sign in with Google |
There was a problem hiding this comment.
Sidebar entry not added for the new page
docs/app/reflex_docs/templates/docpage/sidebar/sidebar_items/learn.py hard-codes the Authentication section with only authentication.authentication_overview. The new google.md page will be accessible by direct URL (the docgen pipeline auto-discovers all .md files) but will not appear in the sidebar navigation. The PR description flags this as a pending TODO, but it blocks discoverability — the page is unreachable for users browsing the docs.
There was a problem hiding this comment.
Fixed. Added authentication.google to the Authentication section's children in learn.py so the page appears in the sidebar nav (naming matches the auto-discovered module, same convention as authentication.authentication_overview).
Adds a "Sign in with Google" page under
docs/authentication/(which currently only has the overview). Covers thereflex-google-authpackage:GoogleAuthState,token_is_valid/tokeninfo, therequire_google_logindecorator, andgoogle_login()insidegoogle_oauth_provider.Draft — from the AI-builder memory corpus. Draft pending a news fragment /
skip-changeloglabel and a sidebar entry if the auth section needs one.🤖 Generated with Claude Code