Skip to content

BD4: Authentication and Authorization completed#170

Open
umairdalwai wants to merge 1 commit into
dev-backendfrom
bd4-auth
Open

BD4: Authentication and Authorization completed#170
umairdalwai wants to merge 1 commit into
dev-backendfrom
bd4-auth

Conversation

@umairdalwai
Copy link
Copy Markdown
Collaborator

Authentication and Authorization (BD4) implementation completed. Implemented user registration, login, refresh token, and logout endpoints. Added JWT-based authentication with access tokens and refresh tokens, with refresh tokens stored securely using HTTP-only cookies and expiration. Defined user roles and implemented role-based access control middleware to protect API endpoints. Applied authentication and authorization to relevant routes. Included error handling for invalid credentials, missing tokens, and unauthorized access. All endpoints have been tested successfully using curl.

@s222530306
Copy link
Copy Markdown
Collaborator

@umairdalwai, please resolve merge conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants