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

[New API] : Authentication and Authorization API: #64

Closed
1 task done
Suyash878 opened this issue May 11, 2024 · 5 comments
Closed
1 task done

[New API] : Authentication and Authorization API: #64

Suyash878 opened this issue May 11, 2024 · 5 comments
Labels
awesome gssoc New label for GSSOC-24 newapi Denotes the new api is there

Comments

@Suyash878
Copy link
Contributor

Brief Description 🤓

About the API

Implement an API for managing user authentication and authorisation, including features such as user registration, login, password reset, and access control. This API could provide developers with a secure and calculable solution for handling user authentication in their applications.

How will you develop it?🤩

API Development: Authentication and Authorisation API

Overview

The Authentication and Authorisation API aims to provide developers with a secure solution for user authentication and access control in their applications.

Features

User Registration and Management

  • Description: Allow users to register accounts, manage profiles, and update information.
  • Implementation: RESTful endpoints for registration, profile management, password reset, and account deletion.

User Authentication

  • Description: Support authentication mechanisms like username/password, OAuth, and JWT.
  • Implementation: Middleware for validating credentials, generating/verifying JWT tokens, and managing sessions.

Access Control and Authorization

  • Description: Define RBAC or ABAC policies to regulate resource access.
  • Implementation: Middleware for enforcing access control based on user roles, permissions, or attributes.

Security Features

  • Description: Include features such as password hashing, encryption, rate limiting, and IP whitelisting.
  • Implementation: Integration with bcrypt, JWT, and firewall rules for security.

Technologies and Tools

  • Node.js, Express.js
  • Passport.js, JSON Web Tokens (JWT)
  • MongoDB or PostgreSQL
  • Postman, bcrypt

API Endpoints

  • User Registration: POST /api/auth/register
  • User Login: POST /api/auth/login
  • Profile Management: PUT /api/users/:id

Testing Strategy

  • Unit Tests: Ensure functionality and error handling.
  • Integration Tests: Verify interactions between components.
  • Manual Testing: Validate behavior and edge cases using Postman.

Documentation Plan

  • API Documentation: Generate using Swagger or Postman.
  • Usage Examples: Provide code snippets and scenarios for integration.

Deployment

None

Select the open source program you are contributing to

Other

Code of Conduct

@dishamodi0910
Copy link
Owner

Greetings @Suyash878🎀 ! , We are excited to have you dive into another issue with us!🚀
Your involvement in our project has been invaluable, and we're confident that your skills and insights will help us conquer this challenge😇.

Use command /gdsc to self assign the issue.

This issue represents an exciting opportunity for us to improve and enhance our project, and we are thrilled to have you on board.
We request you to follow CONTRIBUTING GUIDELINES.
Looking for your PR soon!
In case of any issues, you can contact us on Discord.❣️

@dishamodi0910 dishamodi0910 added awesome gssoc New label for GSSOC-24 newapi Denotes the new api is there labels May 11, 2024
@dishamodi0910
Copy link
Owner

Hey @Suyash878 ! I wanted to inform you that we have closed issue.Thank you for your understanding, and we look forward to your continued engagement with our repository🤗.
In case of any issues, you can contact us on Discord.
Thank you! ❣️
Happy Coding! ✨
Will See you soon❣️

@Suyash878 Suyash878 reopened this May 11, 2024
@Suyash878
Copy link
Contributor Author

I came to realise someone else is already working on this idea.

@Suyash878 Suyash878 reopened this May 11, 2024
@dishamodi0910
Copy link
Owner

Hey @Suyash878 ! I wanted to inform you that we have closed issue.Thank you for your understanding, and we look forward to your continued engagement with our repository🤗.
In case of any issues, you can contact us on Discord.
Thank you! ❣️
Happy Coding! ✨
Will See you soon❣️

@Suyash878 Suyash878 closed this as not planned Won't fix, can't repro, duplicate, stale May 11, 2024
@dishamodi0910
Copy link
Owner

Hey @Suyash878 ! I wanted to inform you that we have closed issue.Thank you for your understanding, and we look forward to your continued engagement with our repository🤗.
In case of any issues, you can contact us on Discord.
Thank you! ❣️
Happy Coding! ✨
Will See you soon❣️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awesome gssoc New label for GSSOC-24 newapi Denotes the new api is there
Projects
None yet
Development

No branches or pull requests

2 participants