Hi All, I had a quick look at on both implementation we did so far. It seems both of these are tightly couple with our(WSO2 IS) oauth and key manager implementation. If we consider scenarios like plugging external key managers then we will have to implement entire logic from the scratch. So as a solution we may implement dynamic client registration, resource registration APIs depend on key manager interface. I did quick POC to implement DCR and RR based on key manager interface. It worked without any issue i was able to register resource, oauth app. Also was able to validate token with introspection API. If we can standardize key manager interface in a way we can use across platform it will make our life easy. And integration will be simple. As of now its little bit coupled with API Manager as resource registration API takes API as input resource. But we can change it to generic resource and do some other changes we can use it across platform without any issue.
WDYT? Thanks, sanjeewa. On Fri, Oct 30, 2015 at 8:33 PM, Sanjeewa Malalgoda <[email protected]> wrote: > Thanks a lot guys for your helps. > > On Fri, Oct 30, 2015 at 8:32 PM, Harshan Liyanage <[email protected]> > wrote: > >> Hi Sanjeewa, >> >> We have implemented DCR as a separate feature >> (org.wso2.carbon.dynamic.client.registration.server.feature). So you should >> be fine if you just add it to p2-gen. >> >> 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 Fri, Oct 30, 2015 at 8:11 PM, Johann Nallathamby <[email protected]> >> wrote: >> >>> [1] is the PR for that. >>> >>> [1] https://github.com/wso2/carbon-identity/pull/833 >>> >>> On Fri, Oct 30, 2015 at 7:22 PM, Sanjeewa Malalgoda <[email protected]> >>> wrote: >>> >>>> Perfect. That sounds good plan. >>>> Is there any possibility of getting resource registration code done by >>>> Farasath. >>>> Can you loop him to mail? >>>> >>>> Thanks, >>>> sanjeewa. >>>> >>>> On Fri, Oct 30, 2015 at 4:29 PM, Johann Nallathamby <[email protected]> >>>> wrote: >>>> >>>>> >>>>> >>>>> On Fri, Oct 30, 2015 at 1:49 PM, Sanjeewa Malalgoda <[email protected] >>>>> > wrote: >>>>> >>>>>> Hi All, >>>>>> Thanks a lot for quick reply. Actually what i was looking for is same >>>>>> as what harshan mentioned. >>>>>> In addition to this we may need resource registration service as well >>>>>> to complete story. >>>>>> We may be able to contribute this. >>>>>> >>>>> >>>>> Resource registration part is actually done as part of UMA by Farasath >>>>> for the GSoC project he did. >>>>> >>>>>> >>>>>> @Identity server team, Can you take this component to product and >>>>>> make it available with next major release? >>>>>> IMO DCR and RR services should be part of identity server. Also we >>>>>> may need to expose it as installable feature. >>>>>> >>>>> >>>>> Yes, we are planning this for IS 5.2.0. >>>>> >>>>> Thanks. >>>>> >>>>>> >>>>>> Thanks, >>>>>> sanjeewa. >>>>>> >>>>>> >>>>>> >>>>>> On Thu, Oct 29, 2015 at 9:45 PM, Harshan Liyanage <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> 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 >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> *Sanjeewa Malalgoda* >>>>>> WSO2 Inc. >>>>>> Mobile : +94713068779 >>>>>> >>>>>> <http://sanjeewamalalgoda.blogspot.com/>blog >>>>>> :http://sanjeewamalalgoda.blogspot.com/ >>>>>> <http://sanjeewamalalgoda.blogspot.com/> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Thanks & Regards, >>>>> >>>>> *Johann Dilantha Nallathamby* >>>>> Technical Lead & Product Lead of WSO2 Identity Server >>>>> Governance Technologies Team >>>>> WSO2, Inc. >>>>> lean.enterprise.middleware >>>>> >>>>> Mobile - *+94777776950* >>>>> Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>* >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> *Sanjeewa Malalgoda* >>>> WSO2 Inc. >>>> Mobile : +94713068779 >>>> >>>> <http://sanjeewamalalgoda.blogspot.com/>blog >>>> :http://sanjeewamalalgoda.blogspot.com/ >>>> <http://sanjeewamalalgoda.blogspot.com/> >>>> >>>> >>>> >>> >>> >>> -- >>> Thanks & Regards, >>> >>> *Johann Dilantha Nallathamby* >>> Technical Lead & Product Lead of WSO2 Identity Server >>> Governance Technologies Team >>> WSO2, Inc. >>> lean.enterprise.middleware >>> >>> Mobile - *+94777776950* >>> Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>* >>> >> >> > > > -- > > *Sanjeewa Malalgoda* > WSO2 Inc. > Mobile : +94713068779 > > <http://sanjeewamalalgoda.blogspot.com/>blog > :http://sanjeewamalalgoda.blogspot.com/ > <http://sanjeewamalalgoda.blogspot.com/> > > > -- *Sanjeewa Malalgoda* WSO2 Inc. Mobile : +94713068779 <http://sanjeewamalalgoda.blogspot.com/>blog :http://sanjeewamalalgoda.blogspot.com/ <http://sanjeewamalalgoda.blogspot.com/>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
