Skip to content

Auth - #9

Merged
shakibdshy merged 6 commits into
devfrom
auth
Jan 23, 2026
Merged

Auth#9
shakibdshy merged 6 commits into
devfrom
auth

Conversation

@shakibdshy

Copy link
Copy Markdown
Contributor

No description provided.

…d vendor registration

This commit introduces a comprehensive authentication system including:
- Sign-in and sign-up pages with form validation
- Vendor registration flow
- Database schema and migrations for auth
- API routes for auth handlers
- Client-side auth utilities and hooks
- Password validation and security features
- Social login integration (GitHub, Google)
- Session management
- Add 2FA support with email verification codes
- Create security settings UI for enabling/disabling 2FA
- Implement OTP input component and email templates
- Add user menu dropdown with profile links
- Update auth schema to support 2FA configuration
- Move toast notifications to bottom-right
…reation

- Implement vendor registration flow with personal and store info steps
- Add vendor and shop schemas to database
- Create slug utilities for shop URLs
- Add admin plugin for role-based access control
- Implement vendor registration server function with validation
- Replace mock user data with actual session user from auth client
- Update VendorUserMenu to handle nullable user fields and implement sign out
- Add conditional rendering to show sign-in button when user is not authenticated
- Use auth client's signOut function for proper session termination
Protect vendor dashboard routes by requiring a valid session.
Unauthenticated users are redirected to the sign-in page.
@coderabbitai

coderabbitai Bot commented Jan 23, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@shakibdshy
shakibdshy merged commit fd7ca22 into dev Jan 23, 2026
1 of 2 checks passed
@FullStack-Flow FullStack-Flow deleted a comment from appwrite Bot Jan 23, 2026
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