Skip to content

Discourage redirectToLogin in favor of custom login UI#53

Merged
netanelgilad merged 1 commit intomainfrom
claude/plan-login-methods-uUKmH
Jan 30, 2026
Merged

Discourage redirectToLogin in favor of custom login UI#53
netanelgilad merged 1 commit intomainfrom
claude/plan-login-methods-uUKmH

Conversation

@gonengar
Copy link
Contributor

@gonengar gonengar commented Jan 30, 2026

Update SDK documentation to recommend building custom login UI using
loginViaEmailPassword() and loginWithProvider() instead of redirectToLogin() so local login will work.

Changes:

  • Add deprecation warning to redirectToLogin in method reference table
  • Update Protected Route Pattern to use navigate() instead of redirectToLogin
  • Update error handling examples to navigate to custom login page
  • Reframe "Limitations" section as "Authentication UI Options"
  • Add new Best Practice for building custom login UI
  • Update QUICK_REFERENCE.md with warning comment
  • Update SKILL.md Protected Routes example

https://claude.ai/code/session_01S8pH8AXWza6WkTZ233N8Z8

Update SDK documentation to recommend building custom login UI using
loginViaEmailPassword() and loginWithProvider() instead of redirectToLogin().

Changes:
- Add deprecation warning to redirectToLogin in method reference table
- Update Protected Route Pattern to use navigate() instead of redirectToLogin
- Update error handling examples to navigate to custom login page
- Reframe "Limitations" section as "Authentication UI Options"
- Add new Best Practice for building custom login UI
- Update QUICK_REFERENCE.md with warning comment
- Update SKILL.md Protected Routes example

https://claude.ai/code/session_01S8pH8AXWza6WkTZ233N8Z8
@claude
Copy link
Contributor

claude bot commented Jan 30, 2026


Code review

No issues found. Checked for bugs and CLAUDE.md compliance.


@netanelgilad netanelgilad merged commit 3823f1f into main Jan 30, 2026
1 check passed
@netanelgilad netanelgilad deleted the claude/plan-login-methods-uUKmH branch January 30, 2026 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants