Open jenny-alexander opened 1 year ago
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
keeping this open as there are still a few tasks to do
basic authorization done, Oauth will be in phase 2
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.