This repository implements a fully-compliant OAuth2 server following the RFC-6749. It is framework and infrastructure agnostic.
The goal of this project is to provide a scaffold for the ones who need to provide OAuth integration but already have their login systems in place.
Most famous web frameworks that provide some kind of user management have OAuth plugins available. However, most systems nowadays are sofisticated enough to implement their own usser session and management.
With this scenario in mind, this projects "wraps" your existing login systems with the OAuth2.0 framework. Almost everything is taken care of already (request and validation, context keeping between requests, response and errors) and you just need to adapt it to your reality and deploy to your infrastructure.
Note: This is not a library. There might be breaking changes in the future as the protocol evolves. Consider this project a scaffold for your own implementation.