Hi Sanjeewa,
We have implemented "dynamic-client-registration" for using in the latest
EMM. We have implemented 2 endpoints for registering a client and removing
a client [2]. For example if you need to register a client you have to
invoke register endpoint like this.
HTTP POST* dynamic-client-web/register*
Payload :
{
"callbackUrl": "www.google.lk",
"clientName": "mdm", //OAuth application name
"tokenScope": "Production",
"owner": "admin", //User name of application owner
"grantType": "password refresh_token", //space separated grant-type list
"saasApp" :true //indicates whether this is a SaaS app or not
}
Upon successful registration you'll receive a json payload including the
client-name, client-id, client-secret and callback-url.
You can find the related components here [1].
[1].
https://github.com/wso2/carbon-device-mgt/tree/master/components/identity-extensions/dynamic-client-registration
[2].
https://github.com/wso2/carbon-device-mgt/blob/master/components/identity-extensions/dynamic-client-registration/dynamic-client-web/src/main/java/org/wso2/carbon/dynamic/client/web/impl/RegistrationServiceImpl.java
Thanks,
Harshan Liyanage
Software Engineer
Mobile: *+94724423048*
Email: [email protected]
Blog : http://harshanliyanage.blogspot.com/
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
On Thu, Oct 29, 2015 at 9:29 PM, Gayan Gunawardana <[email protected]> wrote:
>
>
> On Thu, Oct 29, 2015 at 7:33 PM, Ishara Karunarathna <[email protected]>
> wrote:
>
>> Hi Sanjeewa,
>>
>> On Thu, Oct 29, 2015 at 7:12 PM, Sanjeewa Malalgoda <[email protected]>
>> wrote:
>>
>>> Hi All,
>>> I would like to know some information about Oauth dynamic client
>>> registration[1] and resource registration APIs available in IS.
>>> AFAIK we were discussing about subject for some time and i think we
>>> already implemented it.
>>> So my question is do we have resource registration APIs and DCR APIs
>>> available with IS?
>>>
>> Still we don't have this implementations in IS.
>>
>> Some implementation done by Harshan as an extension [2].
>
> [2]
> https://github.com/wso2/carbon-device-mgt/tree/master/components/identity-extensions/dynamic-client-registration
>
>> Thanks,
>> Ishara
>>
>>> If so can someone please point me endpoint details or some sample.
>>>
>>> [1]https://datatracker.ietf.org/doc/rfc7591/?include_text=1
>>>
>>>
>>> Thanks,
>>> sanjeewa.
>>> --
>>>
>>> *Sanjeewa Malalgoda*
>>> WSO2 Inc.
>>> Mobile : +94713068779
>>>
>>> <http://sanjeewamalalgoda.blogspot.com/>blog
>>> :http://sanjeewamalalgoda.blogspot.com/
>>> <http://sanjeewamalalgoda.blogspot.com/>
>>>
>>>
>>>
>>
>>
>> --
>> Ishara Karunarathna
>> Senior Software Engineer
>> WSO2 Inc. - lean . enterprise . middleware | wso2.com
>>
>> email: [email protected], blog: isharaaruna.blogspot.com, mobile:
>> +94717996791
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Gayan Gunawardana
> Software Engineer; WSO2 Inc.; http://wso2.com/
> Email: [email protected]
> Mobile: +94 (71) 8020933
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev