Too Long; Didn't Read
OAuth2 is one kind of protocol or framework to secure RESTful Web Services. Majority of REST API are protected with OAuth 2 due to it’s rock solid security. Building an OAuth server is not easy but juicy. Building your own OAuth Server is neither easy nor hard. We’ll build our own. It will be very helpful if you want to build a production ready public or private API. Building a REST Resource Server is a good way to protect your resources from un-authorized access.