Skip to content

Feat/magic link auth selection#424

Merged
manikanta9176 merged 4 commits intomainfrom
feat/magic-link-auth-selection
Aug 21, 2025
Merged

Feat/magic link auth selection#424
manikanta9176 merged 4 commits intomainfrom
feat/magic-link-auth-selection

Conversation

@manikanta9176
Copy link
Copy Markdown
Collaborator

No description provided.

- Introduce a new global configuration for managing authentication methods.
- Allows administrators to select between email/password, magic link, or both.
- Provides flexibility in how users can authenticate with the system.
- Restricts access to this configuration to admin users only.
- Implement passwordless magic link authentication flow.
- Add requestMagicLinkAction to send unique login links via email.
- Enhance autoLoginAction and endpoint to verify tokens and create user sessions.
- Enable auto-onboarding for new users signing in with a magic link.
- Introduce cuid for secure, one-time login codes and auto-generated user credentials.
- Introduce a new auth-config global to dynamically control available authentication methods.
- Adapt sign-in, sign-up, and forgot password pages to respect the configured authMethod (email-password, magic-link, or both).
- Enable magic link authentication flow for sign-in based on configuration.
- Enhance the user experience of authentication forms with improved styling and dynamic content.
…eedback

- Implement comprehensive error handling for signInAction and requestMagicLinkAction, providing specific user feedback.
- Introduce a "Resend magic link" button in the sign-in form for improved user experience.
- Add conditional authentication method checks based on global configuration.
- Create new, styled email templates for magic link and login confirmation.
- Enhance auto-login to send a welcome email with generated password for new users.
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.

1 participant