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

Authentication API #Issue_Number-1 #21

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Sureshwebdeveloper
Copy link

@Sureshwebdeveloper Sureshwebdeveloper commented Oct 8, 2024

I have Writed user Authentication Api

Flow Of My Code

  1. User Register New Account --> email, password,confirm password ---> Sending Token Access Token,Authentication Token

  2. Verify token via headers both authtoken,access token if valid next user can update data via Create Profile

  3. User Create Our Profile Via Registered Email And Update A Other Deatiles
    name,
    gender,
    age,
    country,
    phoneNumber,
    countryCode,
    description,
    social media link,
    profile picture,

  4. Login User Via Email Password Or Registered PhoneNumber And Return Only Authentication Token

If I need to make any other changes, please provide them. I am excited to work on that.
@Mustafiz04

this close #1

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

You've made your first pull request - awesome! Let's collaborate to make this project even better

If you're fixing a bug, please refer to the issue number in the description.

If you are implementing a feature request, please check with the maintainers that the feature will be accepted first.

api/middleware/auth.js Outdated Show resolved Hide resolved
api/routes/auth.js Outdated Show resolved Hide resolved
api/controller/auth.js Outdated Show resolved Hide resolved
api/controller/auth.js Outdated Show resolved Hide resolved
@Sureshwebdeveloper
Copy link
Author

Sureshwebdeveloper commented Oct 13, 2024

@Mustafiz04
@aqueefcs
Please Check For Now I Have Update A Latest Commit and I have Removed a unnecessary token Validation and Token Generation , added a Express Validator

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.

Authentication API
2 participants