Skip to main content

Posts

Featured

OAuth 2.0: RESTful API

Overview  I have already made a blog about OAUTH 2.0 and you should check that out before this, as prior knowledge of OAuth 2.0 might be needed to understand this application. In this I will be guiding you through a Resource Server API for OAuth 2.0 framework. Resource is where the resources for OAuth will be handled, so our server should be able to handle OAuth 2.0 requests and obviously the RESTful API. It should be able to handle requests from the Authorization server. There are many API server and one of the examples is the WSO2 API Manager, however here we create the Resource server AND the Authorization Server. Application "client_credentials" will be the grant type. Here I have created a user first (username = admin, password = admin) and all the functions and configuration that handle requests from the client are written in this file. run the app To make all get and post requests to the resource server we use Postman Chrome Add-o

Latest Posts

Cross-site Request Forgery Protection: Double Submit Cookies Patterns

Cross-site Request Forgery Protection: Synchronizer Token Patterns

Networking 101: RJ45 Crossover and Straight Through

Vulnix Walkthrough

CYCA2014 Walkthrough- Club Status