Re: [Dev] Usage of "tocommonauth" property in OAuth2 Authorize Endpoint

2017-10-27 Thread Ishara Karunarathna
Hi Isura, On Fri, Oct 27, 2017 at 7:43 PM, Isura Karunaratne wrote: > Hi all, > > If the "tocommonauth" property value is true, the authentication response > from the login page will forward to the commonauth endpoint through OAuth2 > Authorize Endpoint. > > >- IIRC, this

[Dev] Usage of "tocommonauth" property in OAuth2 Authorize Endpoint

2017-10-27 Thread Isura Karunaratne
Hi all, If the "tocommonauth" property value is true, the authentication response from the login page will forward to the commonauth endpoint through OAuth2 Authorize Endpoint. - IIRC, this was done to reduce the number of redirection in OAuth flow, but I think it is better to handle all

Re: [Dev] Getting the roles of tenant users through UserAdmin admin service by using super-tenant admin's credentials

2017-10-27 Thread Isura Karunaratne
Hi Megala, This cannot be done using the existing Admin services. You can do this by using *SCIM2* APIs with cross-tenancy feature. Add following cross-tenant=" true" in identity.xml file. Note that only SCIM2 supports cross tenancy feature. Thanks Isura. On Fri, Oct 27, 2017 at 5:48 PM,

[Dev] Getting the roles of tenant users through UserAdmin admin service by using super-tenant admin's credentials

2017-10-27 Thread Megala Uthayakumar
Hi All, I am working on implementing a new store REST API, to get all the scopes relevant to particular application and to filter the scopes based on the roles of the user. Since this is a store API, I am calling the key manager's UserAdmin admin service to get the roles of a particular user.

Re: [Dev] Enrich mediator Issue with Json in wso2 esb

2017-10-27 Thread Sudharma Subasinghe
Hi Aditya, This has been fixed with[1] and you can try with latest WSO2 Enterprise Integrator(WSO2 EI), integrator profile. There you can avoid above both issues by enabling *synapse.json.to.xml.processing.instruction.enable *in synapse.properties file. Please refer[2] for more info about using

Re: [Dev] UserAccountAssociationService having “/permission/admin/login” permissions in some operations

2017-10-27 Thread Mushthaq Rumy
Hi Thanuja, Thanks for the clarification. One more thing. Is there a way that we can avoid specific users to login to the Management Console who has " permission/admin/login" permission? Thanks & Regards, Mushthaq On Thu, Oct 26, 2017 at 7:28 PM, Thanuja Jayasinghe wrote: >

Re: [Dev] SSL issue in EI while using Entitlement mediator with IS

2017-10-27 Thread Dilshani Subasinghe
Hi Tharindu, Thanks for pointing out methods to identify root cause through SSL logs. It was identified that EI 6.1.1 had an issue with the expired private key and issue fixed when I use the latest pack with WUM update. Thank you, Dilshani On Fri, Oct 27, 2017 at 5:23 AM, Tharindu Edirisinghe

[Dev] [APIM] [C5] Exporting APIs with No Endpoints

2017-10-27 Thread Menuka Warushavithana
Hi all, I have created a GitHub issue [1] for a bug in ExportAPI in APIM 3.0.0. I also opened a pull request [2] with a quick fix for this particular bug. [1] https://github.com/wso2/product-apim/issues/1455 [2] https://github.com/wso2/carbon-apimgt/pull/4680 Best Regards *Menuka

Re: [Dev] MSF4J (v2.4.1) Metrics sample throws NPE

2017-10-27 Thread Vidura Nanayakkara
Hi Chanaka, I was able to reproduce this issue and opened the git issue [1] to track this down. The null pointer exception is thrown when metrics configuration is retrieved due to carbon config resolver being not set. I will look into this and let you know once this is fixed asap. [1]