Skip to content

Revert "Revert "docs: Remove Auth Helpers"" - #41441

Merged
ChrisChinchilla merged 1 commit into
masterfrom
revert-41383-revert-40986-chrischinchilla/remove-auth-helpers
Dec 17, 2025
Merged

ChrisChinchilla merged 1 commit into
masterfrom
revert-41383-revert-40986-chrischinchilla/remove-auth-helpers

Conversation

@ChrisChinchilla

@ChrisChinchilla ChrisChinchilla commented Dec 17, 2025 •

Copy link
Copy Markdown
Contributor

Reverts #41383

Summary by CodeRabbit

Release Notes

  • Documentation
    • Removed legacy authentication helpers documentation for Next.js, SvelteKit, Remix, and Flutter frameworks.
    • Removed deprecated Auth UI documentation and references from navigation menu.
    • Cleaned up related redirect entries.

✏️ Tip: You can customize this high-level summary in your review settings.

@vercel

vercel Bot commented Dec 17, 2025 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
docs Ready Ready Preview, Comment Dec 17, 2025 3:34pm
zone-www-dot-com Ready Ready Preview, Comment Dec 17, 2025 3:34pm
6 Skipped Deployments
Project Deployment Review Updated (UTC)
studio Ignored Ignored Dec 17, 2025 3:34pm
cms Skipped Skipped Dec 17, 2025 3:34pm
design-system Skipped Skipped Dec 17, 2025 3:34pm
studio-self-hosted Skipped Skipped Dec 17, 2025 3:34pm
studio-staging Skipped Skipped Dec 17, 2025 3:34pm
ui-library Skipped Skipped Dec 17, 2025 3:34pm

@supabase

supabase Bot commented Dec 17, 2025

Copy link
Copy Markdown

This pull request has been ignored for the connected project xguihxuzqibwxjnimxev because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Dec 17, 2025
@coderabbitai

coderabbitai Bot commented Dec 17, 2025 •

Copy link
Copy Markdown
Contributor

Walkthrough

The PR removes deprecated Auth Helpers documentation pages, related navigation references, and an associated redirect entry. It eliminates the main auth-helpers guide, framework-specific implementations (Next.js, SvelteKit, Remix), deprecated Auth UI guides, the "Auth UI" navigation subsection, and a deprecation warning partial.

Changes

Cohort / File(s) Change Summary
Navigation Configuration
apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
Removed the "Auth UI" section block from authentication navigation, including deprecated Auth UI and Flutter Auth UI menu items
Documentation Partials
apps/docs/content/_partials/auth_helpers.mdx
Removed inline deprecation admonition warning about Auth Helpers and directing users to @supabase/ssr
Main Auth Helpers Guide
apps/docs/content/guides/auth/auth-helpers.mdx
Deleted entire documentation page covering Auth Helpers overview, framework links, and deprecation status
Framework-Specific Guides
apps/docs/content/guides/auth/auth-helpers/nextjs-pages.mdx, nextjs.mdx, remix.mdx, sveltekit.mdx
Deleted comprehensive deprecated guides for Next.js Pages Router, Next.js App Router, Remix, and SvelteKit auth implementations, including setup, examples, and migration notes
UI Component Documentation
apps/docs/content/guides/auth/auth-helpers/auth-ui.mdx, flutter-auth-ui.mdx
Deleted Auth UI and Flutter Auth UI documentation pages covering installation, theming, customization, and usage examples
Redirects Configuration
apps/www/lib/redirects.js
Removed permanent redirect from /docs/guides/auth/auth-helpers/nextjs-server-components to /docs/guides/auth/auth-helpers/nextjs

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

  • Verify all auth-helpers documentation deletions are intentional and complete across the deprecation scope
  • Confirm the navigation constant change only removes the Auth UI subsection without affecting other auth menu items
  • Ensure the single redirect removal doesn't break existing external links or user bookmarks

Possibly related PRs

Suggested labels

documentation

Suggested reviewers

  • cemalkilic

Poem

🐰 Hops through the docs with a broom in paw,
Sweeping away the auth-helpers of yore,
Deprecated pages now gone without a trace,
Fresh guidance emerges in their place! ✨

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Description check ⚠️ Warning The description is minimal and only mentions reverting a commit without explaining the rationale, impact, or following the repository's template structure. Add context following the template: clarify which commit is being reverted, explain why, describe the impact, and confirm reading CONTRIBUTING.md.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly describes the main change: reverting a previous revert, which restores the removal of Auth Helpers documentation.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch revert-41383-revert-40986-chrischinchilla/remove-auth-helpers

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 641ef03 and 02b72d1.

📒 Files selected for processing (10)
  • apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts (0 hunks)
  • apps/docs/content/_partials/auth_helpers.mdx (0 hunks)
  • apps/docs/content/guides/auth/auth-helpers.mdx (0 hunks)
  • apps/docs/content/guides/auth/auth-helpers/auth-ui.mdx (0 hunks)
  • apps/docs/content/guides/auth/auth-helpers/flutter-auth-ui.mdx (0 hunks)
  • apps/docs/content/guides/auth/auth-helpers/nextjs-pages.mdx (0 hunks)
  • apps/docs/content/guides/auth/auth-helpers/nextjs.mdx (0 hunks)
  • apps/docs/content/guides/auth/auth-helpers/remix.mdx (0 hunks)
  • apps/docs/content/guides/auth/auth-helpers/sveltekit.mdx (0 hunks)
  • apps/www/lib/redirects.js (1 hunks)
💤 Files with no reviewable changes (9)
  • apps/docs/content/guides/auth/auth-helpers/auth-ui.mdx
  • apps/docs/content/guides/auth/auth-helpers.mdx
  • apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
  • apps/docs/content/guides/auth/auth-helpers/nextjs-pages.mdx
  • apps/docs/content/guides/auth/auth-helpers/nextjs.mdx
  • apps/docs/content/guides/auth/auth-helpers/flutter-auth-ui.mdx
  • apps/docs/content/guides/auth/auth-helpers/sveltekit.mdx
  • apps/docs/content/guides/auth/auth-helpers/remix.mdx
  • apps/docs/content/_partials/auth_helpers.mdx
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: build
  • GitHub Check: typecheck

Comment thread apps/www/lib/redirects.js
source: '/docs/guides/auth/auth-helpers/nextjs-server-components',
destination: '/docs/guides/auth/auth-helpers/nextjs',
},

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Search for the catch-all redirect around line 1303-1305
echo "=== Checking catch-all redirect in redirects.js ==="
sed -n '1300,1310p' apps/www/lib/redirects.js

# Search for any hardcoded references to the removed paths
echo -e "\n=== Searching for hardcoded references to nextjs-server-components ==="
rg -n "nextjs-server-components" --type-add 'web:*.{js,jsx,ts,tsx,md,mdx}' --type web apps/www/

echo -e "\n=== Searching for hardcoded references to auth-helpers/nextjs ==="
rg -n "auth-helpers/nextjs" --type-add 'web:*.{js,jsx,ts,tsx,md,mdx}' --type web apps/www/

Repository: supabase/supabase

Length of output: 3271


Update hardcoded links in blog posts to reference the migration guide instead of the deprecated Auth Helpers documentation.

The removal of the redirect for nextjs-server-components is appropriate since its destination (/docs/guides/auth/auth-helpers/nextjs) no longer exists. The catch-all redirect at lines 1303-1305 properly handles requests to /docs/guides/auth/auth-helpers/* by directing users to the migration guide.

However, multiple blog posts still contain hardcoded links to /docs/guides/auth/auth-helpers/nextjs:

  • apps/www/_blog/2022-11-17-fetching-and-caching-supabase-data-in-next-js-server-components.mdx
  • apps/www/_blog/2023-08-10-using-supabase-with-vercel.mdx (5 references)
  • apps/www/_blog/2023-06-09-supabase-beta-update-may-2023.mdx
  • apps/www/_blog/2022-11-02-supabase-beta-update-october-2022.mdx

These should be updated to link to /docs/guides/auth/server-side/migrating-to-ssr-from-auth-helpers to ensure blog content directs users to the current migration path rather than relying on redirect chains.

🤖 Prompt for AI Agents
In apps/www/lib/redirects.js around line 2160, update the referenced hardcoded
blog links that still point to the deprecated
/docs/guides/auth/auth-helpers/nextjs by editing the four blog files listed
(apps/www/_blog/2022-11-17-fetching-and-caching-supabase-data-in-next-js-server-components.mdx,
apps/www/_blog/2023-08-10-using-supabase-with-vercel.mdx,
apps/www/_blog/2023-06-09-supabase-beta-update-may-2023.mdx,
apps/www/_blog/2022-11-02-supabase-beta-update-october-2022.mdx) and replace
each occurrence of /docs/guides/auth/auth-helpers/nextjs with
/docs/guides/auth/server-side/migrating-to-ssr-from-auth-helpers so they point
directly to the migration guide instead of the removed Auth Helpers docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants