Release 0.4 - Progressing
To understand well for oauth2 and passport, I studied and googled it. It basically provides authentication service using well known sites like google, facebook and github.
Passportjs provides a number of strategies for OAuth2. Here is the official site. Since passport uses strategy pattern, most of them are very similar and just change some of urls and which information will be used in the strategy. Of course, I spent a lot of time to understand how it worked and actually there were many things I needed to study such as session, cookie and so on.Also, Typescript is very helpful. I cannot added any property as it is ok on Javascript. When I added githubId in user, it automatically gave me an error and I needed to figure out where I need to add it. It is not really difficult since I studied OOP a lot but I am pretty sure I will be a fan of it.
After I spent some time, I added them successfully and made a PR. However, the CI show me test error although on my local, I passed all of test cases.
After I spent some time, I added them successfully and made a PR. However, the CI show me test error although on my local, I passed all of test cases.
Concluding...
The experience on open source world is really great. They are teaching not only the technology skills but also how to communicate and willing to share their valuable experience. I am really happy to become a self-learner.
Comments
Post a Comment