You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Rukmal Weerawarana <ru...@wso2.com> on 2014/08/10 12:04:50 UTC
Stratos Login REST APIs
Hi Pradeep,
I had a quick question to ask you about the REST APIs used with Stratos.
Shiro and I are working on the new UI, and currently have no way of
authenticating new users without using the jaggery 'carbon' component.
We're experimenting with handling the UI on the client side entirely, so I
wanted to ask you if a) the new APIs are working, and b) if you have any
documentation for them.
Thanks!
--
Rukmal Weerawarana
Software Engineering Intern, WSO2;
Student and Research Assistant, University of Washington;
email: (rukmal.weerawarana@gmail.com | rukmal@uw.edu | rukmal@wso2.com);
cell: (+1 (206) 839-6891 | +94 (77) 429-9919);
website: http://rukmal.me;
Re: Stratos Login REST APIs
Posted by Rukmal Weerawarana <ru...@wso2.com>.
Hi Pradeep,
Yes that clears things up quite a bit. I'll look into exploring all options.
Thanks for all of your help everyone!
Rukmal
On Fri, Aug 15, 2014 at 5:26 PM, Pradeep Fernando <pr...@gmail.com>
wrote:
> Hi Rukmal,
>
> Sorry for the delayed response.
>
> It is not tightly bound to carbon modules.
>
> 1. You can use basic auth to authenticate each and every API call Or,
> 2. Call authentication service and retrieve cookie. Use the cookie for
> subsequent requests.
> 3. There is a handler for Oauth as well. But is not thoroughly tested.
>
> hope this answers your question.
>
> thanks,
> --Pradeep
>
>
> On Mon, Aug 11, 2014 at 1:04 AM, Udara Liyanage <ud...@wso2.com> wrote:
>
>> Hi Rukmal,
>>
>> I guess you can do the authentication by calling the REST API s.
>>
>>
>> On Mon, Aug 11, 2014 at 7:59 AM, Dakshika Jayathilaka <da...@wso2.com>
>> wrote:
>>
>>> Hi,
>>>
>>> You can use Curl commands instead of using carbon component.
>>>
>>> Regards,
>>>
>>> *Dakshika Jayathilaka*
>>> Software Engineer
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>> 0771100911
>>>
>>>
>>> On Sun, Aug 10, 2014 at 12:11 PM, Praneesha Chandrasiri <
>>> praneesha@wso2.com> wrote:
>>>
>>>> Hi Rukmal,
>>>>
>>>> We have information on REST APIs documented in [1] in Stratos docs.
>>>>
>>>> Sharing in case it will be helpful.
>>>>
>>>> [1]
>>>> https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+REST+API+Guide
>>>>
>>>>
>>>> On Sun, Aug 10, 2014 at 3:04 AM, Rukmal Weerawarana <ru...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Pradeep,
>>>>>
>>>>> I had a quick question to ask you about the REST APIs used with
>>>>> Stratos.
>>>>>
>>>>> Shiro and I are working on the new UI, and currently have no way of
>>>>> authenticating new users without using the jaggery 'carbon' component.
>>>>> We're experimenting with handling the UI on the client side entirely, so I
>>>>> wanted to ask you if a) the new APIs are working, and b) if you have any
>>>>> documentation for them.
>>>>>
>>>>> Thanks!
>>>>>
>>>>> --
>>>>> Rukmal Weerawarana
>>>>> Software Engineering Intern, WSO2;
>>>>> Student and Research Assistant, University of Washington;
>>>>> email: (rukmal.weerawarana@gmail.com | rukmal@uw.edu | rukmal@wso2.com
>>>>> );
>>>>> cell: (+1 (206) 839-6891 | +94 (77) 429-9919);
>>>>> website: http://rukmal.me;
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Thanks & Best Regards,
>>>> *Praneesha Chandrasiri*
>>>> *Technical Writer*
>>>> *WSO2 Inc. *
>>>> *Mobile: +(94) 718156888 <%2B%2894%29%20718156888>*
>>>> *E-mail: praneesha@wso2.com <pr...@wso2.com>*
>>>>
>>>>
>>>
>>
>>
>> --
>>
>> Udara Liyanage
>> Software Engineer
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> web: http://udaraliyanage.wordpress.com
>> phone: +94 71 443 6897
>>
>
>
>
> --
> Pradeep Fernando.
> http://pradeepfernando.blogspot.com/
>
--
Rukmal Weerawarana
Software Engineering Intern, WSO2;
Student and Research Assistant, University of Washington;
email: (rukmal.weerawarana@gmail.com | rukmal@uw.edu | rukmal@wso2.com);
cell: (+1 (206) 839-6891 | +94 (77) 429-9919);
website: http://rukmal.me;
Re: Stratos Login REST APIs
Posted by Pradeep Fernando <pr...@gmail.com>.
Hi Rukmal,
Sorry for the delayed response.
It is not tightly bound to carbon modules.
1. You can use basic auth to authenticate each and every API call Or,
2. Call authentication service and retrieve cookie. Use the cookie for
subsequent requests.
3. There is a handler for Oauth as well. But is not thoroughly tested.
hope this answers your question.
thanks,
--Pradeep
On Mon, Aug 11, 2014 at 1:04 AM, Udara Liyanage <ud...@wso2.com> wrote:
> Hi Rukmal,
>
> I guess you can do the authentication by calling the REST API s.
>
>
> On Mon, Aug 11, 2014 at 7:59 AM, Dakshika Jayathilaka <da...@wso2.com>
> wrote:
>
>> Hi,
>>
>> You can use Curl commands instead of using carbon component.
>>
>> Regards,
>>
>> *Dakshika Jayathilaka*
>> Software Engineer
>> WSO2, Inc.
>> lean.enterprise.middleware
>> 0771100911
>>
>>
>> On Sun, Aug 10, 2014 at 12:11 PM, Praneesha Chandrasiri <
>> praneesha@wso2.com> wrote:
>>
>>> Hi Rukmal,
>>>
>>> We have information on REST APIs documented in [1] in Stratos docs.
>>>
>>> Sharing in case it will be helpful.
>>>
>>> [1]
>>> https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+REST+API+Guide
>>>
>>>
>>> On Sun, Aug 10, 2014 at 3:04 AM, Rukmal Weerawarana <ru...@wso2.com>
>>> wrote:
>>>
>>>> Hi Pradeep,
>>>>
>>>> I had a quick question to ask you about the REST APIs used with Stratos.
>>>>
>>>> Shiro and I are working on the new UI, and currently have no way of
>>>> authenticating new users without using the jaggery 'carbon' component.
>>>> We're experimenting with handling the UI on the client side entirely, so I
>>>> wanted to ask you if a) the new APIs are working, and b) if you have any
>>>> documentation for them.
>>>>
>>>> Thanks!
>>>>
>>>> --
>>>> Rukmal Weerawarana
>>>> Software Engineering Intern, WSO2;
>>>> Student and Research Assistant, University of Washington;
>>>> email: (rukmal.weerawarana@gmail.com | rukmal@uw.edu | rukmal@wso2.com
>>>> );
>>>> cell: (+1 (206) 839-6891 | +94 (77) 429-9919);
>>>> website: http://rukmal.me;
>>>>
>>>
>>>
>>>
>>> --
>>> Thanks & Best Regards,
>>> *Praneesha Chandrasiri*
>>> *Technical Writer*
>>> *WSO2 Inc. *
>>> *Mobile: +(94) 718156888 <%2B%2894%29%20718156888>*
>>> *E-mail: praneesha@wso2.com <pr...@wso2.com>*
>>>
>>>
>>
>
>
> --
>
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897
>
--
Pradeep Fernando.
http://pradeepfernando.blogspot.com/
Re: Stratos Login REST APIs
Posted by Udara Liyanage <ud...@wso2.com>.
Hi Rukmal,
I guess you can do the authentication by calling the REST API s.
On Mon, Aug 11, 2014 at 7:59 AM, Dakshika Jayathilaka <da...@wso2.com>
wrote:
> Hi,
>
> You can use Curl commands instead of using carbon component.
>
> Regards,
>
> *Dakshika Jayathilaka*
> Software Engineer
> WSO2, Inc.
> lean.enterprise.middleware
> 0771100911
>
>
> On Sun, Aug 10, 2014 at 12:11 PM, Praneesha Chandrasiri <
> praneesha@wso2.com> wrote:
>
>> Hi Rukmal,
>>
>> We have information on REST APIs documented in [1] in Stratos docs.
>>
>> Sharing in case it will be helpful.
>>
>> [1]
>> https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+REST+API+Guide
>>
>>
>> On Sun, Aug 10, 2014 at 3:04 AM, Rukmal Weerawarana <ru...@wso2.com>
>> wrote:
>>
>>> Hi Pradeep,
>>>
>>> I had a quick question to ask you about the REST APIs used with Stratos.
>>>
>>> Shiro and I are working on the new UI, and currently have no way of
>>> authenticating new users without using the jaggery 'carbon' component.
>>> We're experimenting with handling the UI on the client side entirely, so I
>>> wanted to ask you if a) the new APIs are working, and b) if you have any
>>> documentation for them.
>>>
>>> Thanks!
>>>
>>> --
>>> Rukmal Weerawarana
>>> Software Engineering Intern, WSO2;
>>> Student and Research Assistant, University of Washington;
>>> email: (rukmal.weerawarana@gmail.com | rukmal@uw.edu | rukmal@wso2.com);
>>> cell: (+1 (206) 839-6891 | +94 (77) 429-9919);
>>> website: http://rukmal.me;
>>>
>>
>>
>>
>> --
>> Thanks & Best Regards,
>> *Praneesha Chandrasiri*
>> *Technical Writer*
>> *WSO2 Inc. *
>> *Mobile: +(94) 718156888 <%2B%2894%29%20718156888>*
>> *E-mail: praneesha@wso2.com <pr...@wso2.com>*
>>
>>
>
--
Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware
web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897
Re: Stratos Login REST APIs
Posted by Dakshika Jayathilaka <da...@wso2.com>.
Hi,
You can use Curl commands instead of using carbon component.
Regards,
*Dakshika Jayathilaka*
Software Engineer
WSO2, Inc.
lean.enterprise.middleware
0771100911
On Sun, Aug 10, 2014 at 12:11 PM, Praneesha Chandrasiri <pr...@wso2.com>
wrote:
> Hi Rukmal,
>
> We have information on REST APIs documented in [1] in Stratos docs.
>
> Sharing in case it will be helpful.
>
> [1]
> https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+REST+API+Guide
>
>
> On Sun, Aug 10, 2014 at 3:04 AM, Rukmal Weerawarana <ru...@wso2.com>
> wrote:
>
>> Hi Pradeep,
>>
>> I had a quick question to ask you about the REST APIs used with Stratos.
>>
>> Shiro and I are working on the new UI, and currently have no way of
>> authenticating new users without using the jaggery 'carbon' component.
>> We're experimenting with handling the UI on the client side entirely, so I
>> wanted to ask you if a) the new APIs are working, and b) if you have any
>> documentation for them.
>>
>> Thanks!
>>
>> --
>> Rukmal Weerawarana
>> Software Engineering Intern, WSO2;
>> Student and Research Assistant, University of Washington;
>> email: (rukmal.weerawarana@gmail.com | rukmal@uw.edu | rukmal@wso2.com);
>> cell: (+1 (206) 839-6891 | +94 (77) 429-9919);
>> website: http://rukmal.me;
>>
>
>
>
> --
> Thanks & Best Regards,
> *Praneesha Chandrasiri*
> *Technical Writer*
> *WSO2 Inc. *
> *Mobile: +(94) 718156888 <%2B%2894%29%20718156888>*
> *E-mail: praneesha@wso2.com <pr...@wso2.com>*
>
>
Re: Stratos Login REST APIs
Posted by Praneesha Chandrasiri <pr...@wso2.com>.
Hi Rukmal,
We have information on REST APIs documented in [1] in Stratos docs.
Sharing in case it will be helpful.
[1] https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+REST+API+Guide
On Sun, Aug 10, 2014 at 3:04 AM, Rukmal Weerawarana <ru...@wso2.com> wrote:
> Hi Pradeep,
>
> I had a quick question to ask you about the REST APIs used with Stratos.
>
> Shiro and I are working on the new UI, and currently have no way of
> authenticating new users without using the jaggery 'carbon' component.
> We're experimenting with handling the UI on the client side entirely, so I
> wanted to ask you if a) the new APIs are working, and b) if you have any
> documentation for them.
>
> Thanks!
>
> --
> Rukmal Weerawarana
> Software Engineering Intern, WSO2;
> Student and Research Assistant, University of Washington;
> email: (rukmal.weerawarana@gmail.com | rukmal@uw.edu | rukmal@wso2.com);
> cell: (+1 (206) 839-6891 | +94 (77) 429-9919);
> website: http://rukmal.me;
>
--
Thanks & Best Regards,
*Praneesha Chandrasiri*
*Technical Writer*
*WSO2 Inc. *
*Mobile: +(94) 718156888 <%2B%2894%29%20718156888>*
*E-mail: praneesha@wso2.com <pr...@wso2.com>*