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

Configure the login passport and endpoint #26

Open
mthais opened this issue Jan 3, 2019 · 0 comments
Open

Configure the login passport and endpoint #26

mthais opened this issue Jan 3, 2019 · 0 comments
Labels

Comments

@mthais
Copy link
Owner

mthais commented Jan 3, 2019

The goal of this issue is to set up the passport and endpoint of the login functionality

Why

These settings are needed so that the user can log in in the platform.

Level

Medium

Current behavior

When the user inserts their data on the login page and tries to log in, the system doesn't allow the user to log in.

Expected behavior

When the user inserts their data on the login page it is necessary that the system allows the user to log in and redirect the user to the dashboard page

Screenshot attached

N/A

How to solve this issue

  • Configure the passport to use local auth and LinkedIn;
  • The login endpoint should return an object containing a user (name, email, id) and token;

How to reproduce the user scenario

  • Run the project locally;
  • Access the login page;
  • Insert your name, email, and password;
  • Click on the button "Entrar";
  • The system should allow the user to login in the platform;
    OR
  • Click on the button "Linkedin";
  • The user should be able to log in on the platform using the Linkedin;

What you will need to complete this issue

  • Check how the local auth works on the following Gitpay repository. We want to follow the same Gitpay rules.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant