Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sprint 1: User Authentication #21

Open
6 tasks done
Ayshyama opened this issue Oct 2, 2023 · 1 comment
Open
6 tasks done

Sprint 1: User Authentication #21

Ayshyama opened this issue Oct 2, 2023 · 1 comment
Assignees

Comments

@Ayshyama
Copy link
Owner

Ayshyama commented Oct 2, 2023

Frontend

  • 1. Login Page

  • Design the layout.

  • Implement basic client-side validation for immediate user feedback.

  • 2. Registration Page

  • Design the layout.

  • Implement basic client-side validation for immediate user feedback.

  • 3. Password Restoration Page

  • Design the layout for entering an email address to receive the reset link.

  • Implement form for resetting the password through a received link.

  • Implement basic client-side validation for immediate user feedback.

  • 4. OAuth Buttons

  • Add buttons for OAuth-based login with GitHub and Gmail.

  • Implement frontend logic to handle OAuth flow.

  • 5. User Feedback

  • Implement notifications or alerts for login errors, successful registration, and successful password reset.

  • 6. Testing

  • Test the UI/UX and form validation on various screen sizes and devices.

@Ayshyama
Copy link
Owner Author

Ayshyama commented Oct 2, 2023

Backend

  • 1. Set Up Django's Authentication

  • Enable Django's built-in authentication middleware.

  • Configure URL patterns for authentication views.

  • 2. Database Models

  • Ensure that customized Django user model is properly set up to store user information.

  • 3. OAuth Implementation

  • Register your app with GitHub and Gmail to get API keys.

  • Implement OAuth2.0 flow for GitHub and Gmail using Django libraries like social-auth-app-django or django-allauth.

  • 4. Password Restoration

  • Implement a 'forgot password' feature that generates a secure token and sends an email to the user.

  • 5. Form Validation

  • Use Django's form classes or serializers to validate the data on the server-side for registration, login, and password reset forms.

  • 7. Testing

  • Write unit tests for the authentication functionality.

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

No branches or pull requests

5 participants