AleksandrAtr / darianna-creative

DaRianna Creative is a fictional website created for educational purposes as part of the Code Institute 4_P course's Milestone Project 4.
0 stars 1 forks source link

Create Authentication for the website #23

Closed AleksandrAtr closed 5 months ago

AleksandrAtr commented 6 months ago
AleksandrAtr commented 6 months ago

User story reference #5

AleksandrAtr commented 6 months ago

Install Django All Auth via pip: Installed Django All Auth, a powerful authentication framework, via pip, incorporating robust authentication capabilities into the Django project effortlessly.

AleksandrAtr commented 6 months ago

Add 'allauth' and 'allauth.account' to INSTALLED_APPS in settings.py: Included the 'allauth' and 'allauth.account' apps in the INSTALLED_APPS list within settings.py, enabling Django to recognize and utilize the functionalities provided by Django All Auth.

AleksandrAtr commented 6 months ago

Configure the authentication backend in settings.py: Configured the authentication backend in settings.py to specify Django All Auth as the primary authentication mechanism, ensuring seamless integration with the project.

AleksandrAtr commented 6 months ago

Define LOGIN_REDIRECT_URL and LOGOUT_REDIRECT_URL in settings.py: Specified the LOGIN_REDIRECT_URL and LOGOUT_REDIRECT_URL in settings.py to define the URLs users should be redirected to after successful login and logout operations, respectively.

AleksandrAtr commented 6 months ago

Include the allauth URLs in the project's main urls.py file: Included the URLs provided by Django All Auth in the project's main urls.py file, enabling access to authentication-related endpoints and functionalities throughout the application.

AleksandrAtr commented 6 months ago

Run migrations to create necessary database tables: Executed database migrations to create the required tables for storing authentication-related data, ensuring the database schema aligns with the specifications of Django All Auth.

AleksandrAtr commented 5 months ago

Configure email settings for user verification and password reset functionalities: Configured email settings to enable user verification and password reset functionalities. Implemented SMTP or another suitable email backend to ensure reliable delivery of verification and password reset emails to users.

AleksandrAtr commented 5 months ago

Test the authentication flow thoroughly, including signup, login, logout, password reset, etc.: Conducted comprehensive testing of the authentication flow, covering all aspects such as user signup, login, logout, password reset, and any other relevant functionalities. Ensured integration with the frontend and backend components, and verified that all user interactions with the authentication system proceed as expected without any errors or inconsistencies.

AleksandrAtr commented 5 months ago

Task closed