E5/S1: OAuth2 server fundamental features
Investigate the OAuth2 design per Roman to see if it can do both authorization and resource server in OAuth2 use case. https://docs.google.com/document/d/1CKQEAvnAgG5E7twGIUZdCZqqdhoM7Zeri9CN9uTLFgA/edit
@jimhw A bare oauth 2.0 server with the four grants is now functional. It currently behaves as both resource and authorization server in the basic sense. I'm interested in the end to end user story to prioritize what features we still need to add.
Reviewed and ran the 4 test cases and passed, great.
https://github.com/LunchBadger/express-gateway-oauth2-plugin
- [x] Spec (if applicable)
- [x] Implementation
- [x] Tests
- [x] Code Review
- [ ] UX Sign off (if applicable)
- [x] Demo
- [x] Docs
we need more content for the oauth2 server readme/doc. we need to add the supported grants, usage, dependencies (rbacl) and connecting with EG.
- mock write up on UX to install and use plugin - we can weigh options on taking Oauth2 and putting core "for now" versus taking out existing plugins to their own separate npm modules/repos
- plugin framework - what are the mechanisms?
No doc required. Demo: npm test