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

Implement authentication strategy #22

Open
jenny-alexander opened this issue Oct 18, 2023 · 4 comments
Open

Implement authentication strategy #22

jenny-alexander opened this issue Oct 18, 2023 · 4 comments
Assignees

Comments

@jenny-alexander
Copy link
Contributor

Implement Passport as authentication strategy for Chingu Dashboard. According to Nest.js docs, integrating Passport with Nest application should be straight-forward.

@cherylli can investigate further and advise us of best approach.

@jenny-alexander jenny-alexander changed the title Impement auth strategy Implement authentication strategy Oct 18, 2023
@jenny-alexander jenny-alexander removed their assignment Oct 18, 2023
@jenny-alexander
Copy link
Contributor Author

@cherylli
Copy link
Collaborator

I think most of us prefer jwt, so we can use jwt. I'm thinking to implement basic username/password login so frontend can start using that and we can stop using placeholder userId. Then, add other strategies like discord/github etc, whatever was planned in the design.

username/password would be easier for the frontend to use, as they would not have to login using their own account which we'll need to create fake data for them

https://docs.nestjs.com/recipes/passport

@cherylli
Copy link
Collaborator

cherylli commented Nov 6, 2023

keeping this open as there are still a few tasks to do

  • authorization
  • oauth

@cherylli
Copy link
Collaborator

basic authorization done,
Oauth will be in phase 2

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

No branches or pull requests

2 participants