OpenMRS is largest FOSS project focused on building a customized electronic medical record platform. OpenMRS exposes its resources via REST web services which may then be used by Open Web Apps, Android/iOS clients etc. We were still missing an authentication framework to secure these API calls.
How it works
The OAuth2 module is based on spring-security and spring-security oauth projects. It intercepts the calls made to the REST api and enforces the OAuth2 protocol for these.
Here are some resources you'll find handly to describe the project in more details :