passport-mitopenid
Version:
Passport Strategy with the AuthorizationCode grant type of the OAuth 2.0 protocol.
33 lines (20 loc) • 1.68 kB
Markdown
# CONTRIBUTING
## Finding Bugs and Typos
Suggestions on bugs and typos are highly welcome and appreciated. The README and other comments in the code were written relatively quickly, and there may be bugs in the system because it was not tested.
I manually tested this for [AuthorizationCode Grant Type](https://tools.ietf.org/html/rfc6749#section-4.1), but other grant types are also given on [MOIDC](https://oidc.mit.edu/).
## Creating Pull Requests
Pull requests are also welcome, even if they solve a small problem. Please, just make sure to detail what your changes fix.
## Looking for Ways to Contribute?
Here are some external links that helped me come up with this code in the first place:
- [IETF rfc6749](https://tools.ietf.org/html/rfc6749)
- [Guide on MITOPENID, External Resources](https://github.com/robertvunabandi/guide-on-mitopenid#understanding-how-oauth-20-works)
The next guides show were this code even comes from, thanks to [Jared Hanson](https://github.com/jaredhanson):
- [passport-google-oauth2](https://github.com/jaredhanson/passport-google-oauth2)
- [passport-facebook](https://github.com/jaredhanson/passport-facebook)
- [passport-twitter](https://github.com/jaredhanson/passport-twitter)
- [passport-oauth2](https://github.com/jaredhanson/passport-oauth2)
- [passport-strategy](https://github.com/jaredhanson/passport-strategy)
- [passport](https://github.com/jaredhanson/passport)
Understanding the codebases above (mainly the Google, Facebook, and Twitter ones) will tremendeously help understanding this codebase.
## Test Cases
Adding more test cases would be a plus! All other passport strategies are 100% tested! This one is not :(.