OAuth playground for WSO2 API Manager

person kasunfolder_openAPI Manager, WSO2local_offer, , , access_time October 12, 2016

In this article, I will demonstrate how to use WSO2 API Manager REST APIs for create new client application and generate an access token and access secured API using the generated access token.

This article is to be completed If you are interested in playing with the code, Here you can find the code on GitHub.

What is OAuth:

Since there are a lot of good articles and post on this topic I’m not going to repeat the work, But will be mentioned about some topics in OAuth when it seems a jargon otherwise.In short, OAuth allows the application to access users resource without requesting user’s password; Instead application can request for specific permission only what it needs to do get the work done using the user’s resource.The word resource here can be, email address, photos etc.

How to use:

First: There is a live demo of this application, You can play with it if you want.

Before explaining how to use the app, let me go through the structure of the app and how it was build.OAuth Playground is build using DJango python framework and it uses requests and requests-oauthlib libraries to make the OAuth calls.

 

OAuth Playground_auth_code OAuth Playground_resource OAuth Playground_access_token

Try this:

Reference:

https://docs.wso2.com/display/AM200/apidocs/store/index.html

https://docs.wso2.com/display/AM200/apidocs/publisher/index.html

https://github.com/tmkasun/wso2-apim-oauth

Comment

  1. Kasun Thennakoon

    Testing comment 😀

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">