Cool, thanks for checking this. If the /oauth2 webapp is going to be used
for scope registrations, then we better make its URL obvious that its
dealing with scopes and doesn't have anything to do with dcr stuff.

On Fri, Sep 15, 2017 at 10:04 AM, Harsha Thirimanna <[email protected]>
wrote:

> On Fri, Sep 15, 2017 at 9:45 AM, Nuwan Dias <[email protected]> wrote:
>
>> Hi Ishara,
>>
>> Thanks for the confirmation.
>>
>> There are two DCR webapps within IS 5.4.0 alpha2, one which goes as
>> ​​
>> /api/identity/*oauth*/dcr/v1.0 and the other which goes as
>> ​​
>> /api/identity/*oauth2*/dcr/v1.0. According to the basepath in the
>> Swagger doc, the second app should be the correct one. But that doesn't
>> work. What works is the ../*oauth*/dcr.. webapp. Can you guys kindly do
>> the needful to rectify this? I will continue to use the /oauth/ webapp for
>> the time being.
>>
>
> ​Sorry about the confusion here and it is not correctly updated the
> swagger file.
>
> The correct path is "
> ​
> /api/identity/*oauth*/dcr/v1.0" and it should be updated in the swagger
> file.
>
> ​
> /api/identity/*oauth2*/dcr/v1.0 is for "OAuth2 Scope Endpoint​"
>
> ​Anyway, it will give some confusion at once and we will discuss this
> again. Thanks for pointing this.
>
>
>
>> Thanks,
>> NuwanD.
>>
>> On Fri, Sep 15, 2017 at 7:41 AM, Ishara Karunarathna <[email protected]>
>> wrote:
>>
>>> HI Nuwan,
>>>
>>> On Fri, Sep 15, 2017 at 7:14 AM, Nuwan Dias <[email protected]> wrote:
>>>
>>>> Hi Hasintha,
>>>>
>>>> Isn't this the old DCR implementation? This one doesn't mention about
>>>> DCRM. Where can I get information on using DCRM?
>>>>
>>>> I was under the impression the new DCR implementation was documented at
>>>> [3]. This doc mentions about DCRM too, hence why I thought that should be
>>>> the new implementation of DCR/M.
>>>>
>>>> Yes that is old implementation and you should use [3].
>>> But this sample request in the yaml need to be chnaged, no longer we
>>> supported for ext_param_owne property, insted we get it from the
>>> authenticated user. S
>>> o request should be
>>> Payload: 
>>> {"redirect_uris":["https://client.example.org/callback"],"client_name":
>>> "application_3","grant_types": ["password"]}
>>>
>>> Thanks,
>>> Ishara
>>>
>>> [3] - https://github.com/wso2-extensions/identity-inbound-auth-o
>>>> auth/blob/master/components/org.wso2.carbon.identity.oauth.d
>>>> cr.endpoint/src/main/resources/api.identity.oauth.dcr.endpoint.yaml
>>>>
>>>> Thanks,
>>>> NuwanD.
>>>>
>>>> On Fri, Sep 15, 2017 at 5:39 AM, Hasintha Indrajee <[email protected]>
>>>> wrote:
>>>>
>>>>> For IS endpoint should be https://localhost:9443/iden
>>>>> tity/connect/register. Refer [1]​[2]
>>>>>
>>>>> [1] http://openid.net/specs/openid-connect-registration-1_0.html
>>>>> [2] https://docs.wso2.com/display/IS540/OpenID+Connect+Dynam
>>>>> ic+Client+Registration
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Nuwan Dias
>>>>
>>>> Software Architect - WSO2, Inc. http://wso2.com
>>>> email : [email protected]
>>>> Phone : +94 777 775 729 <+94%2077%20777%205729>
>>>>
>>>
>>>
>>>
>>> --
>>> 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>
>>>
>>>
>>>
>>
>>
>> --
>> Nuwan Dias
>>
>> Software Architect - WSO2, Inc. http://wso2.com
>> email : [email protected]
>> Phone : +94 777 775 729 <+94%2077%20777%205729>
>>
>
>


-- 
Nuwan Dias

Software Architect - WSO2, Inc. http://wso2.com
email : [email protected]
Phone : +94 777 775 729
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to