Hi Dinuksha, DCR has 3 specs.
- OAuth 2.0 Dynamic Client Registration - OAuth 2.0 Dynamic Client Registration Management - OpenID Connect Dynamic Client Registration OAuth 2.0 Dynamic Client Registration is handled by [1]. And OpenID Connect Dynamic Client Registration is handled by [2]. This is the class that handles requests for /identity/connect/register. OAuth 2.0 Dynamic Client Registration Management is the one you are going to implement. As a start you can just register a servlet and implement the functionality. We will guide you how to register a processor for identity endpoint, if we decide to go in that path. I hope that I answered your questions. Get back to us of you need anything clarified. [1] https://github.com/wso2-extensions/identity-inbound-auth-oauth/blob/master/components/org.wso2.carbon.identity.oauth.dcr/src/main/java/org/wso2/carbon/identity/oauth/dcr/processor/DCRProcessor.java [2] https://github.com/wso2-extensions/identity-inbound-auth-oauth/blob/master/components/org.wso2.carbon.identity.oidc.dcr/src/main/java/org/wso2/carbon/identity/oidc/dcr/processor/OIDCDCRProcessor.java Thanks, On Wed, Mar 22, 2017 at 10:53 AM, Dinuksha Ishwari < [email protected]> wrote: > Hi Maduranga, > > I have referred the given code [1] and observed that DCRProcessor will > only process requests that call the endpoint /identity/register as OAuth2.0 > specification and will not process the the calls to > /identity/connect/register which is the endpoint specified in OpenIDConnect > specification for DCR. Correct me if I am wrong. > > I would appreciate if you could provide me some more information regarding > exposing an endpoint for the custom component of DCRM. > > [1] https://github.com/wso2-extensions/identity-inbound-auth > -oauth/blob/master/components/org.wso2.carbon.identity. > oauth.dcr/src/main/java/org/wso2/carbon/identity/oauth/ > dcr/processor/DCRProcessor.java > > Thank you, > Dinuksha. > > On Tue, Mar 21, 2017 at 11:54 PM, Maduranga Siriwardena < > [email protected]> wrote: > >> Hi Dinuksha, >> >> Glad to hear that you have made progress with the project. >> >> As a start, exposing a separate servlet would be okay. But going forward >> with the project, you may have to use the approach used in the DCR endpoint >> which is [1] (or may have to use a cxf endpoint). >> >> [1] https://github.com/wso2-extensions/identity-inbound-auth >> -oauth/blob/master/components/org.wso2.carbon.identity. >> oauth.dcr/src/main/java/org/wso2/carbon/identity/oauth/ >> dcr/processor/DCRProcessor.java >> >> Thanks, >> >> On Tue, Mar 21, 2017 at 12:26 PM, Dinuksha Ishwari < >> [email protected]> wrote: >> >>> Hi Devs/Mentors, >>> >>> This is to inform you the progress made so far with the project. In >>> order to get familiar with the wso2 codebase and the product building >>> process, I built the kernel and product-is for IS 5.3.0 successfully. Then >>> I patched the current DCR component, built it and added as a patch to IS >>> and got the modifications applied to the server. >>> >>> Now I am working on a basic implementation of the DCRM where I have >>> written a separate component and exposed a servlet from that. I am now >>> modifying it to accept required parameters and to get the basic flow >>> working. I will share the code via github soon for reviewing. Meanwhile I'm >>> working on preparing the project proposal as well. >>> >>> Regards, >>> Dinuksha. >>> >>> On Fri, Mar 17, 2017 at 8:04 AM, Dinuksha Ishwari < >>> [email protected]> wrote: >>> >>>> Hi Omindu, >>>> >>>> Thanks for the information. >>>> >>>> >>>> >>>> On Fri, Mar 17, 2017 at 1:44 AM, Omindu Rathnaweera <[email protected]> >>>> wrote: >>>> >>>>> Hi Dinuksha, >>>>> >>>>> For OAuth, those two are the only libraries we use. >>>>> >>>>> >>>>> On Wed, Mar 15, 2017 at 10:16 AM, Dinuksha Ishwari < >>>>> [email protected]> wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> When I was going through the code base, I observed that Nimbus and >>>>>> Apache Oltu libraries are used for the OAuth2.0 implementation. Could you >>>>>> kindly let me know what other libraries are used? >>>>>> >>>>>> Thanks, >>>>>> Dinuksha >>>>>> >>>>>> >>>>>> >>>>>> On Mon, Feb 27, 2017 at 9:51 AM, Dinuksha Ishwari < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> Hi Ishara, >>>>>>> >>>>>>> I have read the OAuth2.0 DCR and DCRM specification and familiarized >>>>>>> myself with the WSO2 Identity Server DCR implementation. I have also >>>>>>> written a few blog posts [1][2] in order to share my experience. >>>>>>> >>>>>>> I would be very much grateful if you could update the jira >>>>>>> tickets[3][4] providing more information so that I can attempt to >>>>>>> identify >>>>>>> the problem and fix the issue. >>>>>>> >>>>>>> [1] http://dinukshaish.blogspot.com/2017/02/oauth-20-in-nutshell >>>>>>> .html >>>>>>> [2] http://dinukshaish.blogspot.com/2017/02/oauth-20-dynamic-cli >>>>>>> ent-registration.html >>>>>>> [3] https://wso2.org/jira/browse/IDENTITY-5184 >>>>>>> [4] https://wso2.org/jira/browse/IDENTITY-5185 >>>>>>> >>>>>>> Thanks, >>>>>>> Dinuksha >>>>>>> >>>>>>> On Fri, Feb 24, 2017 at 11:53 AM, Ishara Karunarathna < >>>>>>> [email protected]> wrote: >>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Fri, Feb 24, 2017 at 11:16 AM, Dinuksha Ishwari < >>>>>>>> [email protected]> wrote: >>>>>>>> [+ dev] >>>>>>>> >>>>>>>>> Hi Ishara, >>>>>>>>> >>>>>>>>> Thank you for the information. I'm in the process of reading the >>>>>>>>> related specifications and getting familiar with the code base >>>>>>>>> further. >>>>>>>>> Will get back to you soon. >>>>>>>>> >>>>>>>>> Thanks, >>>>>>>>> Dinuksha. >>>>>>>>> >>>>>>>>> On Fri, Feb 24, 2017 at 10:14 AM, Ishara Karunarathna < >>>>>>>>> [email protected]> wrote: >>>>>>>>> >>>>>>>>>> Hi Dinuksha, >>>>>>>>>> >>>>>>>>>> Thank you for your interest in GSoC and the effort on WSO2IS DCRM >>>>>>>>>> implementation. >>>>>>>>>> It’s great that you have already started working with IS code >>>>>>>>>> base. Further you can go through current DCR implementation from >>>>>>>>>> here[1] and go through that code. >>>>>>>>>> >>>>>>>>>> You may find open jiras here[2]. Following are related to current >>>>>>>>>> DCR implementation >>>>>>>>>> https://wso2.org/jira/browse/IDENTITY-5185 >>>>>>>>>> https://wso2.org/jira/browse/IDENTITY-5184 >>>>>>>>>> >>>>>>>>>> Thanks, >>>>>>>>>> Ishara >>>>>>>>>> >>>>>>>>>> [1] https://github.com/wso2-extensions/identity-inbound-auth-oau >>>>>>>>>> th >>>>>>>>>> [2] https://wso2.org/jira/projects/IDENTITY/issues/IDENTITY-5723 >>>>>>>>>> ?filter=allopenissues >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Mon, Feb 20, 2017 at 4:45 PM, Dinuksha Ishwari < >>>>>>>>>> [email protected]> wrote: >>>>>>>>>> >>>>>>>>>>> Hi All, >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> I am Dinuksha Kanda Samanage, a 3rd year undergraduate from Sri >>>>>>>>>>> Lanka Institute of Information Technology, following the Software >>>>>>>>>>> Engineering specialization. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> This is to convey my interest in implementing the OAuth 2.0 >>>>>>>>>>> Dynamic Client Registration Management Protocol Support for >>>>>>>>>>> Identity Server (Proposal 20) in GSoC 2017. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> I am well versed in Java and also familiar with Maven and Git. I >>>>>>>>>>> have been involved in implementing an OAuth 2.0 and OpenID Connect >>>>>>>>>>> related >>>>>>>>>>> project for almost 7 months during my internship. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> I have already started to get familiar with WSO2 codebase and >>>>>>>>>>> fixed the JIRA [1] where the pull request is already merged to the >>>>>>>>>>> WSO2 >>>>>>>>>>> codebase. I will continue fixing more open JIRA tickets on Identity >>>>>>>>>>> Server. >>>>>>>>>>> (If you can suggest some, that would be great too) >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> In order to get ready for this project, I already setup OAuth >>>>>>>>>>> 2.0 Playground2 sample with Identity Server 5.3.0 and wrote the >>>>>>>>>>> blog post >>>>>>>>>>> [2] for sharing my experience. When running this flow, I faced an >>>>>>>>>>> issue and >>>>>>>>>>> raised it in the Dev mail [3] and have got the answer now. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> My GitHub profile can be found at [4]. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Therefore I believe I can learn the required >>>>>>>>>>> concepts/technologies and implement this project for GSoC 2017. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> I appreciate if you can guide me on proceeding further with the >>>>>>>>>>> project. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> [1] https://wso2.org/jira/browse/IDENTITY-5241 >>>>>>>>>>> >>>>>>>>>>> [2] http://dinukshaish.blogspot.com/2017/02/getting-started-with >>>>>>>>>>> -oauth-20-using.html >>>>>>>>>>> >>>>>>>>>>> [3] [Dev] Mandatory Claims in OAuth 2.0 with Identity Server >>>>>>>>>>> 5.3.0 >>>>>>>>>>> >>>>>>>>>>> [4] https://github.com/dinuish94 >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Best Regards, >>>>>>>>>>> >>>>>>>>>>> Dinuksha >>>>>>>>>>> >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> Dev mailing list >>>>>>>>>>> [email protected] >>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Ishara Karunarathna >>>>>>>>>> Associate Technical Lead >>>>>>>>>> WSO2 Inc. - lean . enterprise . middleware | wso2.com >>>>>>>>>> >>>>>>>>>> email: [email protected], blog: isharaaruna.blogspot.com, >>>>>>>>>> mobile: +94717996791 <+94%2071%20799%206791> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Ishara Karunarathna >>>>>>>> Associate Technical Lead >>>>>>>> WSO2 Inc. - lean . enterprise . middleware | wso2.com >>>>>>>> >>>>>>>> email: [email protected], blog: isharaaruna.blogspot.com, >>>>>>>> mobile: +94717996791 <+94%2071%20799%206791> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Dev mailing list >>>>>> [email protected] >>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Omindu Rathnaweera >>>>> Software Engineer, WSO2 Inc. >>>>> Mobile: +94 771 197 211 <+94%2077%20119%207211> >>>>> >>>> >>>> >>> >> >> >> -- >> Maduranga Siriwardena >> Software Engineer >> WSO2 Inc; http://wso2.com/ >> >> Email: [email protected] >> Mobile: +94718990591 <+94%2071%20899%200591> >> Blog: *https://madurangasiriwardena.wordpress.com/ >> <https://madurangasiriwardena.wordpress.com/>* >> <http://wso2.com/signature> >> > > -- Maduranga Siriwardena Software Engineer WSO2 Inc; http://wso2.com/ Email: [email protected] Mobile: +94718990591 Blog: *https://madurangasiriwardena.wordpress.com/ <https://madurangasiriwardena.wordpress.com/>* <http://wso2.com/signature>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
