Re: [Dev] WSO2 and OAuth 2.0

2018-06-09 Thread Harsha Kumara
On Sun, Jun 10, 2018 at 11:16 AM shibsankar wrote: > I checked [1] https://docs.wso2.com/display/AM210/Subscribe+to+an+API > , yes, It gives a token for sure when you subscribe API. > > But is it an Oauth2 token? Or just a normal access token? > API Manager is compliant with OAuth2 specificatio

Re: [Dev] WSO2 and OAuth 2.0

2018-06-09 Thread shibsankar
I checked [1] https://docs.wso2.com/display/AM210/Subscribe+to+an+API , yes, It gives a token for sure when you subscribe API. But is it an Oauth2 token? Or just a normal access token? *Please see the screenshot attached.* Regards Shib On Sun, Jun 10, 2018 at 9:47 AM, Pubudu Gunatilaka wro

Re: [Dev] WSO2 and OAuth 2.0

2018-06-09 Thread Youcef HILEM
Hi Shib, Here is an example : https://github.com/joaoemilio/wso2am-oauth2-implicit-flow-angular5 Thanks Youcef HILEM -- Sent from: http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-Development-f3.html ___ Dev mailing list Dev@wso2.org http://wso2.org/c

Re: [Dev] WSO2 and OAuth 2.0

2018-06-09 Thread Pubudu Gunatilaka
Hi Shib, You can refer [1] for getting the token. This explains how to get the Oauth2 token. You do not need to have WSO2 Identity Server for getting an Oauth2 token. It is coming with API Manager. Using the token API [2], you can get a token. [1] - https://docs.wso2.com/display/AM210/Subscribe

[Dev] WSO2 and OAuth 2.0

2018-06-09 Thread shibsankar
Hi, I would like to do the following : *My Objective *: I have published my API in WSO2 API Gateway. API is working fine. Now I would like to secure my API with OAuth 2.0. I plan to invoke the published API with OAuth 2.0 token from my Angular front-end application. *My Query *: How do I get

Re: [Dev] WSO2 Server Public IP

2018-06-09 Thread Harsha Kumara
Glad to hear it! On Sat, Jun 9, 2018 at 2:51 PM shibsankar wrote: > Bingo. Its working on 8280 and HTTP !!! > > I'm getting response from public gateway URL now. > > It is awesome. > > > *screenshot attached.* > > Regards > Shib > > On Sat, Jun 9, 2018 at 2:47 PM, Harsha Kumara wrote: > >> Mak

[Dev] [VOTE] Release of WSO2 Identity Server 5.6.0 RC1

2018-06-09 Thread Madawa Soysa
Hi all, We are pleased to announce the first release candidate of WSO2 Identity Server 5.6.0. This is the first release candidate (RC) of the WSO2 Identity Server 5.6.0 release. This release fixes the following issues - 5.6.0-RC1 Fixes

Re: [Dev] WSO2 Server Public IP

2018-06-09 Thread shibsankar
Bingo. Its working on 8280 and HTTP !!! I'm getting response from public gateway URL now. It is awesome. *screenshot attached.* Regards Shib On Sat, Jun 9, 2018 at 2:47 PM, Harsha Kumara wrote: > Make sure you have subscribed this API to the application that you > generated the token. > >

Re: [Dev] WSO2 Server Public IP

2018-06-09 Thread Harsha Kumara
Make sure you have subscribed this API to the application that you generated the token. On Sat, Jun 9, 2018 at 2:45 PM shibsankar wrote: > Okay. Tested with 8243 port. > > I get 403 Error code response. > > Please see the screenshot attached. > > Regards > Shib > > > > On Sat, Jun 9, 2018 at 2

Re: [Dev] WSO2 Server Public IP

2018-06-09 Thread shibsankar
Okay. Tested with 8243 port. I get 403 Error code response. Please see the screenshot attached. Regards Shib On Sat, Jun 9, 2018 at 2:15 PM, Harsha Kumara wrote: > > > On Sat, Jun 9, 2018 at 1:48 PM shibsankar wrote: > >> Okay. I did a testing using that in Postman. >> >> I got a Manage

Re: [Dev] WSO2 Server Public IP

2018-06-09 Thread Harsha Kumara
On Sat, Jun 9, 2018 at 1:48 PM shibsankar wrote: > Okay. I did a testing using that in Postman. > > I got a Management console response from Gateway. > > I did not receive API response. > > Please see the screenshot attached. > You have to use port 8243 instead of 9443. Deployed APIs are exposed

Re: [Dev] WSO2 Server Public IP

2018-06-09 Thread Harsha Kumara
Key = Authorization Value = Bearer On Sat, Jun 9, 2018 at 1:25 PM shibsankar wrote: > I may not be using swagger console at all to invoke API Gateway service > finally. Practically in real application, I'll be using Angular JS > front-end deployed in a http server which will do the invocation

Re: [Dev] WSO2 Server Public IP

2018-06-09 Thread shibsankar
I may not be using swagger console at all to invoke API Gateway service finally. Practically in real application, I'll be using Angular JS front-end deployed in a http server which will do the invocation to that *publicly exposed gateway URL*. Anyway, forget swagger console now. Let me use *Post

Re: [Dev] WSO2 Server Public IP

2018-06-09 Thread Harsha Kumara
Hi shibshankar, The IP that used in the swagger console can be edited from api-manager.xml. Please change the URLs highlighted in red. Production and Sandbox This is a hybrid gateway that handles both production and sandbox t

[Dev] Restrict Admin console within localhost in WSO2 IS 5.5.0

2018-06-09 Thread Shiva Kumar
Hi All, I want to restrict access to admin console within localhost how I can configure WSO2 IS 5.5.0 for that. Thanks, Shiva ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

[Dev] WSO2 Server Public IP

2018-06-09 Thread shibsankar
Hi When I publish my API through *WSO2 Publishing > New API Design > Manage > Configuration > Transport*: *HTTPS , HTTP* (*both selected*) and do the API Console testing from WSO2 store , I see request goes through WSO2 server *private IP **address* and I get response from backend API. (scre