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

Added registration and login routes, middlewares, controlles and util… #889

Merged
merged 4 commits into from
Sep 20, 2024

Conversation

ydahal1
Copy link
Collaborator

@ydahal1 ydahal1 commented Sep 20, 2024

…tiy functions. Modified RoleTypes, UserRoles model, added migration file and model for refresh_token

Description

Implemented User Registration and Authentication

  1. Added routes for user registration and login.
  2. Developed middleware for authentication and validation.
  3. Created utility functions to support the login and registration process.
  4. Updated RoleTypes and UserRoles models.
  5. Added migration file and model for refresh_token management.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Vulnerability fix (package bumps or CodeQL adjustments to ensure code security)
  • This change requires a documentation update

Developer Checklist:

  • I have commented my code, particularly in hard-to-understand areas
  • I have resolved any conflicts with the branch I am attempting to merge to.
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings
  • I have ensured that my code does not unecessarily duplicate existing cod
  • I have ensured that all security checks have been passed
  • All input boxes have sensible character limits applied
  • Refreshing related pages puts page in a workable and sensible state

Reviewer Checklist

  • I have pulled the branch into my local environemtn and started the project succesfully
  • I have reviewed the code for proper comments and mispellings
  • All input boxes have sensible character limits applied
  • Refreshing related pages puts page in a workable and sensible state
  • Submitting any relevant Forms relays proper messaging to user
  • I have checked that all security checks have been passed
  • I have checked that all backend routes have proper validation

…tiy functions. Modified RoleTypes, UserRoles model, added migration file and model for refresh_token
@ydahal1
Copy link
Collaborator Author

ydahal1 commented Sep 20, 2024

  1. Added routes for user registration and login.
  2. Developed middleware for authentication and validation.
  3. Created utility functions to support the login and registration process.
  4. Updated RoleTypes and UserRoles models.
  5. Added migration file and model for refresh_token management.

Copy link
Collaborator

@FancMa01 FancMa01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks Good

@FancMa01 FancMa01 merged commit 07639f8 into authRework Sep 20, 2024
@ydahal1 ydahal1 deleted the yadhap/register-login branch September 20, 2024 16:16
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.

2 participants