Re: [Dev] CAS is not working when the application is a SaaS app

2016-11-15 Thread Hasintha Indrajee
On Wed, Nov 16, 2016 at 12:25 PM, Hasintha Indrajee 
wrote:

>
>
> On Tue, Nov 15, 2016 at 5:41 PM, Hasintha Indrajee 
> wrote:
>
>> Hi all,
>>
>> Please find the below fix for this issue. This includes an API change.
>> Please review and merge this fix.
>>
>> [1] https://github.com/wso2-extensions/identity-inbound-auth-cas/pull/10
>>
>
> This fix only returns subject. I think we need to improve it to return
> attributes as well.
>

Sorry. Not getting attributes is a general behaviour I have observed for
super tenant users as well. I configured requested claims and still
couldn't get user claims. There seems to be an issue.

>
>> On Tue, Nov 15, 2016 at 2:52 PM, Malaka Silva  wrote:
>>
>>> Kanapriya can you have a quick look and update with findings please?
>>>
>>> On Tue, Nov 15, 2016 at 11:33 AM, Hasintha Indrajee 
>>> wrote:
>>>
 Hi All,

 CAS is not working when we register a SaaS application and when I am
 trying to login from a different tenant user. This should be supported by
 CAS authentication as it is a basic requirement.

 --
 Hasintha Indrajee
 WSO2, Inc.
 Mobile:+94 771892453


>>>
>>>
>>> --
>>>
>>> Best Regards,
>>>
>>> Malaka Silva
>>> Senior Technical Lead
>>> M: +94 777 219 791
>>> Tel : 94 11 214 5345
>>> Fax :94 11 2145300
>>> Skype : malaka.sampath.silva
>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>> Blog : http://mrmalakasilva.blogspot.com/
>>>
>>> WSO2, Inc.
>>> lean . enterprise . middleware
>>> https://wso2.com/signature
>>> http://www.wso2.com/about/team/malaka-silva/
>>> 
>>> https://store.wso2.com/store/
>>>
>>> Don't make Trees rare, we should keep them with care
>>>
>>
>>
>>
>> --
>> Hasintha Indrajee
>> WSO2, Inc.
>> Mobile:+94 771892453
>>
>>
>
>
> --
> Hasintha Indrajee
> WSO2, Inc.
> Mobile:+94 771892453
>
>


-- 
Hasintha Indrajee
WSO2, Inc.
Mobile:+94 771892453
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] JWT Bearer Grant not working with IS 5.2.0

2016-11-15 Thread Thulasika Vijayanathan
Noted Malaka.

On Wed, Nov 16, 2016 at 11:35 AM, Malaka Silva  wrote:

> Hi Thulasika,
>
> As we discussed offline please check the fix.
>
> On Wed, Nov 16, 2016 at 10:30 AM, Farasath Ahamed 
> wrote:
>
>> Hi Malaka/Thulasika,
>>
>> Since we can't fix this for IS 5.2.0 now as it is already released. Shall
>> we fix it from JWT bearer grant connector side for IS 5.2.0 only?
>> Otherwise, we won't have a JWT connector that is working with IS 5.2.0.
>>
>> WDYT?
>>
>> Thanks,
>>
>> Farasath Ahamed
>> Software Engineer, WSO2 Inc.; http://wso2.com
>> Mobile: +94777603866
>> Blog: blog.farazath.com
>> Twitter: @farazath619 
>> 
>>
>>
>>
>> On Wed, Nov 16, 2016 at 10:18 AM, Thulasika Vijayanathan <
>> thulas...@wso2.com> wrote:
>>
>>> yes Malaka, It doesn't work with fresh 5.2.0 pack.
>>>
>>> On Tue, Nov 15, 2016 at 1:57 PM, Malaka Silva  wrote:
>>>
 If this does not work with fresh pack we can't say it's supported.

 On Tue, Nov 15, 2016 at 9:38 AM, Thulasika Vijayanathan <
 thulas...@wso2.com> wrote:

> Hi,
>
> I have applied this fixed as a patch in 5.2.0 it works.
>
> Thanks,
> Thulasika.
>
> On Mon, Nov 14, 2016 at 12:25 AM, Farasath Ahamed 
> wrote:
>
>> Yes. This is now fixed with [1] by Maduranga. Now we can enable to
>> disable custom grant types using the Service Provider UI.
>>
>> Shall we update the JWT Grant Type connector docs with this change?
>>
>>
>> [1] https://wso2.org/jira/browse/IDENTITY-5260
>>
>> Thanks,
>> Farasath Ahamed
>> Software Engineer, WSO2 Inc.; http://wso2.com
>> Mobile: +94777603866
>> Blog: blog.farazath.com
>> Twitter: @farazath619 
>> 
>>
>>
>>
>> On Fri, Nov 11, 2016 at 5:36 PM, Malaka Silva 
>> wrote:
>>
>>> So the fix needs to come from IS side I guess?
>>>
>>> On Fri, Nov 11, 2016 at 4:44 PM, Maduranga Siriwardena <
>>> madura...@wso2.com> wrote:
>>>
 Hi Thulasika,

 This issue is already reported with [1].

 As a fix we are planning to add the custom grant types also to the
 OAuth application configuration page to enable or disable.

 Thanks,
 Maduranga.

 [1] https://wso2.org/jira/browse/IDENTITY-5260

 On Nov 11, 2016 4:23 PM, "Thulasika Vijayanathan" <
 thulas...@wso2.com> wrote:

> Hi ,
>
> I have checked the JWT grant type[1] in IS 5.2.0. It does not
>  work, when validating the grant type it throws the exception[2].
>
> We need to get the  Allowed grant types as JWT,  but there is no
> option to thick the JWT grant type in UI. is there any way to get the 
> JWT
> grant type?
> [image: Inline image 2]
>
> [1] https://github.com/wso2-extensions/identity-oauth2-grant
> -jwt/blob/master/component/grant-type/src/main/java/org/wso2
> /carbon/identity/oauth2/grant/jwt/JWTBearerGrantHandler.java#L125
>
> [2] https://github.com/wso2-extensions/identity-inbound-auth
> -oauth/blob/v5.1.3/components/org.wso2.carbon.identity.oauth
> /src/main/java/org/wso2/carbon/identity/oauth2/token/handler
> s/grant/AbstractAuthorizationGrantHandler.java#L507
>
> Thanks,
> Thulasika.
> --
> Thulasika
> Associate Software Engineer
> Mobile:0778014295
> email: thulas...@wso2.com 
>

>>>
>>>
>>> --
>>>
>>> Best Regards,
>>>
>>> Malaka Silva
>>> Senior Technical Lead
>>> M: +94 777 219 791
>>> Tel : 94 11 214 5345
>>> Fax :94 11 2145300
>>> Skype : malaka.sampath.silva
>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>> Blog : http://mrmalakasilva.blogspot.com/
>>>
>>> WSO2, Inc.
>>> lean . enterprise . middleware
>>> https://wso2.com/signature
>>> http://www.wso2.com/about/team/malaka-silva/
>>> 
>>> https://store.wso2.com/store/
>>>
>>> Don't make Trees rare, we should keep them with care
>>>
>>
>>
>
>
> --
> Thulasika
> Associate Software Engineer
> Mobile:0778014295
> email: thulas...@wso2.com 
>



 --

 Best Regards,

 Malaka Silva
 Senior Technical Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . 

Re: [Dev] CAS is not working when the application is a SaaS app

2016-11-15 Thread Hasintha Indrajee
On Tue, Nov 15, 2016 at 5:41 PM, Hasintha Indrajee 
wrote:

> Hi all,
>
> Please find the below fix for this issue. This includes an API change.
> Please review and merge this fix.
>
> [1] https://github.com/wso2-extensions/identity-inbound-auth-cas/pull/10
>

This fix only returns subject. I think we need to improve it to return
attributes as well.

>
> On Tue, Nov 15, 2016 at 2:52 PM, Malaka Silva  wrote:
>
>> Kanapriya can you have a quick look and update with findings please?
>>
>> On Tue, Nov 15, 2016 at 11:33 AM, Hasintha Indrajee 
>> wrote:
>>
>>> Hi All,
>>>
>>> CAS is not working when we register a SaaS application and when I am
>>> trying to login from a different tenant user. This should be supported by
>>> CAS authentication as it is a basic requirement.
>>>
>>> --
>>> Hasintha Indrajee
>>> WSO2, Inc.
>>> Mobile:+94 771892453
>>>
>>>
>>
>>
>> --
>>
>> Best Regards,
>>
>> Malaka Silva
>> Senior Technical Lead
>> M: +94 777 219 791
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300
>> Skype : malaka.sampath.silva
>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>> Blog : http://mrmalakasilva.blogspot.com/
>>
>> WSO2, Inc.
>> lean . enterprise . middleware
>> https://wso2.com/signature
>> http://www.wso2.com/about/team/malaka-silva/
>> 
>> https://store.wso2.com/store/
>>
>> Don't make Trees rare, we should keep them with care
>>
>
>
>
> --
> Hasintha Indrajee
> WSO2, Inc.
> Mobile:+94 771892453
>
>


-- 
Hasintha Indrajee
WSO2, Inc.
Mobile:+94 771892453
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] JWT Bearer Grant not working with IS 5.2.0

2016-11-15 Thread Malaka Silva
Hi Thulasika,

As we discussed offline please check the fix.

On Wed, Nov 16, 2016 at 10:30 AM, Farasath Ahamed 
wrote:

> Hi Malaka/Thulasika,
>
> Since we can't fix this for IS 5.2.0 now as it is already released. Shall
> we fix it from JWT bearer grant connector side for IS 5.2.0 only?
> Otherwise, we won't have a JWT connector that is working with IS 5.2.0.
>
> WDYT?
>
> Thanks,
>
> Farasath Ahamed
> Software Engineer, WSO2 Inc.; http://wso2.com
> Mobile: +94777603866
> Blog: blog.farazath.com
> Twitter: @farazath619 
> 
>
>
>
> On Wed, Nov 16, 2016 at 10:18 AM, Thulasika Vijayanathan <
> thulas...@wso2.com> wrote:
>
>> yes Malaka, It doesn't work with fresh 5.2.0 pack.
>>
>> On Tue, Nov 15, 2016 at 1:57 PM, Malaka Silva  wrote:
>>
>>> If this does not work with fresh pack we can't say it's supported.
>>>
>>> On Tue, Nov 15, 2016 at 9:38 AM, Thulasika Vijayanathan <
>>> thulas...@wso2.com> wrote:
>>>
 Hi,

 I have applied this fixed as a patch in 5.2.0 it works.

 Thanks,
 Thulasika.

 On Mon, Nov 14, 2016 at 12:25 AM, Farasath Ahamed 
 wrote:

> Yes. This is now fixed with [1] by Maduranga. Now we can enable to
> disable custom grant types using the Service Provider UI.
>
> Shall we update the JWT Grant Type connector docs with this change?
>
>
> [1] https://wso2.org/jira/browse/IDENTITY-5260
>
> Thanks,
> Farasath Ahamed
> Software Engineer, WSO2 Inc.; http://wso2.com
> Mobile: +94777603866
> Blog: blog.farazath.com
> Twitter: @farazath619 
> 
>
>
>
> On Fri, Nov 11, 2016 at 5:36 PM, Malaka Silva  wrote:
>
>> So the fix needs to come from IS side I guess?
>>
>> On Fri, Nov 11, 2016 at 4:44 PM, Maduranga Siriwardena <
>> madura...@wso2.com> wrote:
>>
>>> Hi Thulasika,
>>>
>>> This issue is already reported with [1].
>>>
>>> As a fix we are planning to add the custom grant types also to the
>>> OAuth application configuration page to enable or disable.
>>>
>>> Thanks,
>>> Maduranga.
>>>
>>> [1] https://wso2.org/jira/browse/IDENTITY-5260
>>>
>>> On Nov 11, 2016 4:23 PM, "Thulasika Vijayanathan" <
>>> thulas...@wso2.com> wrote:
>>>
 Hi ,

 I have checked the JWT grant type[1] in IS 5.2.0. It does not
  work, when validating the grant type it throws the exception[2].

 We need to get the  Allowed grant types as JWT,  but there is no
 option to thick the JWT grant type in UI. is there any way to get the 
 JWT
 grant type?
 [image: Inline image 2]

 [1] https://github.com/wso2-extensions/identity-oauth2-grant
 -jwt/blob/master/component/grant-type/src/main/java/org/wso2
 /carbon/identity/oauth2/grant/jwt/JWTBearerGrantHandler.java#L125

 [2] https://github.com/wso2-extensions/identity-inbound-auth
 -oauth/blob/v5.1.3/components/org.wso2.carbon.identity.oauth
 /src/main/java/org/wso2/carbon/identity/oauth2/token/handler
 s/grant/AbstractAuthorizationGrantHandler.java#L507

 Thanks,
 Thulasika.
 --
 Thulasika
 Associate Software Engineer
 Mobile:0778014295
 email: thulas...@wso2.com 

>>>
>>
>>
>> --
>>
>> Best Regards,
>>
>> Malaka Silva
>> Senior Technical Lead
>> M: +94 777 219 791
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300
>> Skype : malaka.sampath.silva
>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>> Blog : http://mrmalakasilva.blogspot.com/
>>
>> WSO2, Inc.
>> lean . enterprise . middleware
>> https://wso2.com/signature
>> http://www.wso2.com/about/team/malaka-silva/
>> 
>> https://store.wso2.com/store/
>>
>> Don't make Trees rare, we should keep them with care
>>
>
>


 --
 Thulasika
 Associate Software Engineer
 Mobile:0778014295
 email: thulas...@wso2.com 

>>>
>>>
>>>
>>> --
>>>
>>> Best Regards,
>>>
>>> Malaka Silva
>>> Senior Technical Lead
>>> M: +94 777 219 791
>>> Tel : 94 11 214 5345
>>> Fax :94 11 2145300
>>> Skype : malaka.sampath.silva
>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>> Blog : http://mrmalakasilva.blogspot.com/
>>>
>>> WSO2, Inc.
>>> lean . enterprise . middleware
>>> https://wso2.com/signature
>>> http://www.wso2.com/about/team/malaka-silva/
>>> 
>>> https://store.wso2.com/store/
>>>
>>> Don't make Trees rare, we should keep them with care
>>>
>>
>>
>>
>> --
>> Thulasika
>> 

Re: [Dev] JWT Bearer Grant not working with IS 5.2.0

2016-11-15 Thread Farasath Ahamed
Hi Malaka/Thulasika,

Since we can't fix this for IS 5.2.0 now as it is already released. Shall
we fix it from JWT bearer grant connector side for IS 5.2.0 only?
Otherwise, we won't have a JWT connector that is working with IS 5.2.0.

WDYT?

Thanks,

Farasath Ahamed
Software Engineer, WSO2 Inc.; http://wso2.com
Mobile: +94777603866
Blog: blog.farazath.com
Twitter: @farazath619 




On Wed, Nov 16, 2016 at 10:18 AM, Thulasika Vijayanathan  wrote:

> yes Malaka, It doesn't work with fresh 5.2.0 pack.
>
> On Tue, Nov 15, 2016 at 1:57 PM, Malaka Silva  wrote:
>
>> If this does not work with fresh pack we can't say it's supported.
>>
>> On Tue, Nov 15, 2016 at 9:38 AM, Thulasika Vijayanathan <
>> thulas...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> I have applied this fixed as a patch in 5.2.0 it works.
>>>
>>> Thanks,
>>> Thulasika.
>>>
>>> On Mon, Nov 14, 2016 at 12:25 AM, Farasath Ahamed 
>>> wrote:
>>>
 Yes. This is now fixed with [1] by Maduranga. Now we can enable to
 disable custom grant types using the Service Provider UI.

 Shall we update the JWT Grant Type connector docs with this change?


 [1] https://wso2.org/jira/browse/IDENTITY-5260

 Thanks,
 Farasath Ahamed
 Software Engineer, WSO2 Inc.; http://wso2.com
 Mobile: +94777603866
 Blog: blog.farazath.com
 Twitter: @farazath619 
 



 On Fri, Nov 11, 2016 at 5:36 PM, Malaka Silva  wrote:

> So the fix needs to come from IS side I guess?
>
> On Fri, Nov 11, 2016 at 4:44 PM, Maduranga Siriwardena <
> madura...@wso2.com> wrote:
>
>> Hi Thulasika,
>>
>> This issue is already reported with [1].
>>
>> As a fix we are planning to add the custom grant types also to the
>> OAuth application configuration page to enable or disable.
>>
>> Thanks,
>> Maduranga.
>>
>> [1] https://wso2.org/jira/browse/IDENTITY-5260
>>
>> On Nov 11, 2016 4:23 PM, "Thulasika Vijayanathan" 
>> wrote:
>>
>>> Hi ,
>>>
>>> I have checked the JWT grant type[1] in IS 5.2.0. It does not  work,
>>> when validating the grant type it throws the exception[2].
>>>
>>> We need to get the  Allowed grant types as JWT,  but there is no
>>> option to thick the JWT grant type in UI. is there any way to get the 
>>> JWT
>>> grant type?
>>> [image: Inline image 2]
>>>
>>> [1] https://github.com/wso2-extensions/identity-oauth2-grant
>>> -jwt/blob/master/component/grant-type/src/main/java/org/wso2
>>> /carbon/identity/oauth2/grant/jwt/JWTBearerGrantHandler.java#L125
>>>
>>> [2] https://github.com/wso2-extensions/identity-inbound-auth
>>> -oauth/blob/v5.1.3/components/org.wso2.carbon.identity.oauth
>>> /src/main/java/org/wso2/carbon/identity/oauth2/token/handler
>>> s/grant/AbstractAuthorizationGrantHandler.java#L507
>>>
>>> Thanks,
>>> Thulasika.
>>> --
>>> Thulasika
>>> Associate Software Engineer
>>> Mobile:0778014295
>>> email: thulas...@wso2.com 
>>>
>>
>
>
> --
>
> Best Regards,
>
> Malaka Silva
> Senior Technical Lead
> M: +94 777 219 791
> Tel : 94 11 214 5345
> Fax :94 11 2145300
> Skype : malaka.sampath.silva
> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
> Blog : http://mrmalakasilva.blogspot.com/
>
> WSO2, Inc.
> lean . enterprise . middleware
> https://wso2.com/signature
> http://www.wso2.com/about/team/malaka-silva/
> 
> https://store.wso2.com/store/
>
> Don't make Trees rare, we should keep them with care
>


>>>
>>>
>>> --
>>> Thulasika
>>> Associate Software Engineer
>>> Mobile:0778014295
>>> email: thulas...@wso2.com 
>>>
>>
>>
>>
>> --
>>
>> Best Regards,
>>
>> Malaka Silva
>> Senior Technical Lead
>> M: +94 777 219 791
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300
>> Skype : malaka.sampath.silva
>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>> Blog : http://mrmalakasilva.blogspot.com/
>>
>> WSO2, Inc.
>> lean . enterprise . middleware
>> https://wso2.com/signature
>> http://www.wso2.com/about/team/malaka-silva/
>> 
>> https://store.wso2.com/store/
>>
>> Don't make Trees rare, we should keep them with care
>>
>
>
>
> --
> Thulasika
> Associate Software Engineer
> Mobile:0778014295
> email: thulas...@wso2.com 
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] JWT Bearer Grant not working with IS 5.2.0

2016-11-15 Thread Thulasika Vijayanathan
yes Malaka, It doesn't work with fresh 5.2.0 pack.

On Tue, Nov 15, 2016 at 1:57 PM, Malaka Silva  wrote:

> If this does not work with fresh pack we can't say it's supported.
>
> On Tue, Nov 15, 2016 at 9:38 AM, Thulasika Vijayanathan <
> thulas...@wso2.com> wrote:
>
>> Hi,
>>
>> I have applied this fixed as a patch in 5.2.0 it works.
>>
>> Thanks,
>> Thulasika.
>>
>> On Mon, Nov 14, 2016 at 12:25 AM, Farasath Ahamed 
>> wrote:
>>
>>> Yes. This is now fixed with [1] by Maduranga. Now we can enable to
>>> disable custom grant types using the Service Provider UI.
>>>
>>> Shall we update the JWT Grant Type connector docs with this change?
>>>
>>>
>>> [1] https://wso2.org/jira/browse/IDENTITY-5260
>>>
>>> Thanks,
>>> Farasath Ahamed
>>> Software Engineer, WSO2 Inc.; http://wso2.com
>>> Mobile: +94777603866
>>> Blog: blog.farazath.com
>>> Twitter: @farazath619 
>>> 
>>>
>>>
>>>
>>> On Fri, Nov 11, 2016 at 5:36 PM, Malaka Silva  wrote:
>>>
 So the fix needs to come from IS side I guess?

 On Fri, Nov 11, 2016 at 4:44 PM, Maduranga Siriwardena <
 madura...@wso2.com> wrote:

> Hi Thulasika,
>
> This issue is already reported with [1].
>
> As a fix we are planning to add the custom grant types also to the
> OAuth application configuration page to enable or disable.
>
> Thanks,
> Maduranga.
>
> [1] https://wso2.org/jira/browse/IDENTITY-5260
>
> On Nov 11, 2016 4:23 PM, "Thulasika Vijayanathan" 
> wrote:
>
>> Hi ,
>>
>> I have checked the JWT grant type[1] in IS 5.2.0. It does not  work,
>> when validating the grant type it throws the exception[2].
>>
>> We need to get the  Allowed grant types as JWT,  but there is no
>> option to thick the JWT grant type in UI. is there any way to get the JWT
>> grant type?
>> [image: Inline image 2]
>>
>> [1] https://github.com/wso2-extensions/identity-oauth2-grant
>> -jwt/blob/master/component/grant-type/src/main/java/org/wso2
>> /carbon/identity/oauth2/grant/jwt/JWTBearerGrantHandler.java#L125
>>
>> [2] https://github.com/wso2-extensions/identity-inbound-auth
>> -oauth/blob/v5.1.3/components/org.wso2.carbon.identity.oauth
>> /src/main/java/org/wso2/carbon/identity/oauth2/token/handler
>> s/grant/AbstractAuthorizationGrantHandler.java#L507
>>
>> Thanks,
>> Thulasika.
>> --
>> Thulasika
>> Associate Software Engineer
>> Mobile:0778014295
>> email: thulas...@wso2.com 
>>
>


 --

 Best Regards,

 Malaka Silva
 Senior Technical Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 https://wso2.com/signature
 http://www.wso2.com/about/team/malaka-silva/
 
 https://store.wso2.com/store/

 Don't make Trees rare, we should keep them with care

>>>
>>>
>>
>>
>> --
>> Thulasika
>> Associate Software Engineer
>> Mobile:0778014295
>> email: thulas...@wso2.com 
>>
>
>
>
> --
>
> Best Regards,
>
> Malaka Silva
> Senior Technical Lead
> M: +94 777 219 791
> Tel : 94 11 214 5345
> Fax :94 11 2145300
> Skype : malaka.sampath.silva
> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
> Blog : http://mrmalakasilva.blogspot.com/
>
> WSO2, Inc.
> lean . enterprise . middleware
> https://wso2.com/signature
> http://www.wso2.com/about/team/malaka-silva/
> 
> https://store.wso2.com/store/
>
> Don't make Trees rare, we should keep them with care
>



-- 
Thulasika
Associate Software Engineer
Mobile:0778014295
email: thulas...@wso2.com 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] CAS is not working when the application is a SaaS app

2016-11-15 Thread Hasintha Indrajee
Hi Kathees,

Before releasing this can you please check whether claim mappings are
working ? ie if we configure a different subject claim it should be there
as the subject. I think this is a valid basic requirement.

On Wed, Nov 16, 2016 at 9:44 AM, Kathees Rajendram  wrote:

> Yes. Will release a version of CAS inbound with this fix.
>
>
> Thanks,
> Kathees
>
> On Wed, Nov 16, 2016 at 8:22 AM, Malaka Silva  wrote:
>
>> Hi Kathees,
>>
>> Can you check this and release the fix to store please?
>>
>> On Tue, Nov 15, 2016 at 10:36 PM, Kanapriya Kuleswararajan <
>> kanapr...@wso2.com> wrote:
>>
>>> Hi Malaka,
>>>
>>> I have tested existing cas-inbound-authenticator by enable the SaaS
>>> application in super tenant domain and try to login from different tenant
>>> domain. But I couldn't login with different tenant domain.
>>>
>>> I checked with above fix also, It works fine when the application is a
>>> SaaS app.
>>>
>>> Thanks
>>>
>>> Kanapriya Kuleswararajan
>>> Associate Software Engineer
>>> Mobile : - 0774894438
>>> Mail : - kanapr...@wso2.com
>>>
>>> On Tue, Nov 15, 2016 at 5:41 PM, Hasintha Indrajee 
>>> wrote:
>>>
 Hi all,

 Please find the below fix for this issue. This includes an API change.
 Please review and merge this fix.

 [1] https://github.com/wso2-extensions/identity-inbound-auth
 -cas/pull/10

 On Tue, Nov 15, 2016 at 2:52 PM, Malaka Silva  wrote:

> Kanapriya can you have a quick look and update with findings please?
>
> On Tue, Nov 15, 2016 at 11:33 AM, Hasintha Indrajee  > wrote:
>
>> Hi All,
>>
>> CAS is not working when we register a SaaS application and when I am
>> trying to login from a different tenant user. This should be supported by
>> CAS authentication as it is a basic requirement.
>>
>> --
>> Hasintha Indrajee
>> WSO2, Inc.
>> Mobile:+94 771892453
>>
>>
>
>
> --
>
> Best Regards,
>
> Malaka Silva
> Senior Technical Lead
> M: +94 777 219 791
> Tel : 94 11 214 5345
> Fax :94 11 2145300
> Skype : malaka.sampath.silva
> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
> Blog : http://mrmalakasilva.blogspot.com/
>
> WSO2, Inc.
> lean . enterprise . middleware
> https://wso2.com/signature
> http://www.wso2.com/about/team/malaka-silva/
> 
> https://store.wso2.com/store/
>
> Don't make Trees rare, we should keep them with care
>



 --
 Hasintha Indrajee
 WSO2, Inc.
 Mobile:+94 771892453


>>>
>>
>>
>> --
>>
>> Best Regards,
>>
>> Malaka Silva
>> Senior Technical Lead
>> M: +94 777 219 791
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300
>> Skype : malaka.sampath.silva
>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>> Blog : http://mrmalakasilva.blogspot.com/
>>
>> WSO2, Inc.
>> lean . enterprise . middleware
>> https://wso2.com/signature
>> http://www.wso2.com/about/team/malaka-silva/
>> 
>> https://store.wso2.com/store/
>>
>> Don't make Trees rare, we should keep them with care
>>
>
>
>
> --
> Kathees
> Software Engineer,
> email: kath...@wso2.com
> mobile: +94772596173
>



-- 
Hasintha Indrajee
WSO2, Inc.
Mobile:+94 771892453
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] CAS is not working when the application is a SaaS app

2016-11-15 Thread Kathees Rajendram
Yes. Will release a version of CAS inbound with this fix.


Thanks,
Kathees

On Wed, Nov 16, 2016 at 8:22 AM, Malaka Silva  wrote:

> Hi Kathees,
>
> Can you check this and release the fix to store please?
>
> On Tue, Nov 15, 2016 at 10:36 PM, Kanapriya Kuleswararajan <
> kanapr...@wso2.com> wrote:
>
>> Hi Malaka,
>>
>> I have tested existing cas-inbound-authenticator by enable the SaaS
>> application in super tenant domain and try to login from different tenant
>> domain. But I couldn't login with different tenant domain.
>>
>> I checked with above fix also, It works fine when the application is a
>> SaaS app.
>>
>> Thanks
>>
>> Kanapriya Kuleswararajan
>> Associate Software Engineer
>> Mobile : - 0774894438
>> Mail : - kanapr...@wso2.com
>>
>> On Tue, Nov 15, 2016 at 5:41 PM, Hasintha Indrajee 
>> wrote:
>>
>>> Hi all,
>>>
>>> Please find the below fix for this issue. This includes an API change.
>>> Please review and merge this fix.
>>>
>>> [1] https://github.com/wso2-extensions/identity-inbound-auth-cas/pull/10
>>>
>>> On Tue, Nov 15, 2016 at 2:52 PM, Malaka Silva  wrote:
>>>
 Kanapriya can you have a quick look and update with findings please?

 On Tue, Nov 15, 2016 at 11:33 AM, Hasintha Indrajee 
 wrote:

> Hi All,
>
> CAS is not working when we register a SaaS application and when I am
> trying to login from a different tenant user. This should be supported by
> CAS authentication as it is a basic requirement.
>
> --
> Hasintha Indrajee
> WSO2, Inc.
> Mobile:+94 771892453
>
>


 --

 Best Regards,

 Malaka Silva
 Senior Technical Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 https://wso2.com/signature
 http://www.wso2.com/about/team/malaka-silva/
 
 https://store.wso2.com/store/

 Don't make Trees rare, we should keep them with care

>>>
>>>
>>>
>>> --
>>> Hasintha Indrajee
>>> WSO2, Inc.
>>> Mobile:+94 771892453
>>>
>>>
>>
>
>
> --
>
> Best Regards,
>
> Malaka Silva
> Senior Technical Lead
> M: +94 777 219 791
> Tel : 94 11 214 5345
> Fax :94 11 2145300
> Skype : malaka.sampath.silva
> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
> Blog : http://mrmalakasilva.blogspot.com/
>
> WSO2, Inc.
> lean . enterprise . middleware
> https://wso2.com/signature
> http://www.wso2.com/about/team/malaka-silva/
> 
> https://store.wso2.com/store/
>
> Don't make Trees rare, we should keep them with care
>



-- 
Kathees
Software Engineer,
email: kath...@wso2.com
mobile: +94772596173
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] CAS is not working when the application is a SaaS app

2016-11-15 Thread Malaka Silva
Hi Kathees,

Can you check this and release the fix to store please?

On Tue, Nov 15, 2016 at 10:36 PM, Kanapriya Kuleswararajan <
kanapr...@wso2.com> wrote:

> Hi Malaka,
>
> I have tested existing cas-inbound-authenticator by enable the SaaS
> application in super tenant domain and try to login from different tenant
> domain. But I couldn't login with different tenant domain.
>
> I checked with above fix also, It works fine when the application is a
> SaaS app.
>
> Thanks
>
> Kanapriya Kuleswararajan
> Associate Software Engineer
> Mobile : - 0774894438
> Mail : - kanapr...@wso2.com
>
> On Tue, Nov 15, 2016 at 5:41 PM, Hasintha Indrajee 
> wrote:
>
>> Hi all,
>>
>> Please find the below fix for this issue. This includes an API change.
>> Please review and merge this fix.
>>
>> [1] https://github.com/wso2-extensions/identity-inbound-auth-cas/pull/10
>>
>> On Tue, Nov 15, 2016 at 2:52 PM, Malaka Silva  wrote:
>>
>>> Kanapriya can you have a quick look and update with findings please?
>>>
>>> On Tue, Nov 15, 2016 at 11:33 AM, Hasintha Indrajee 
>>> wrote:
>>>
 Hi All,

 CAS is not working when we register a SaaS application and when I am
 trying to login from a different tenant user. This should be supported by
 CAS authentication as it is a basic requirement.

 --
 Hasintha Indrajee
 WSO2, Inc.
 Mobile:+94 771892453


>>>
>>>
>>> --
>>>
>>> Best Regards,
>>>
>>> Malaka Silva
>>> Senior Technical Lead
>>> M: +94 777 219 791
>>> Tel : 94 11 214 5345
>>> Fax :94 11 2145300
>>> Skype : malaka.sampath.silva
>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>> Blog : http://mrmalakasilva.blogspot.com/
>>>
>>> WSO2, Inc.
>>> lean . enterprise . middleware
>>> https://wso2.com/signature
>>> http://www.wso2.com/about/team/malaka-silva/
>>> 
>>> https://store.wso2.com/store/
>>>
>>> Don't make Trees rare, we should keep them with care
>>>
>>
>>
>>
>> --
>> Hasintha Indrajee
>> WSO2, Inc.
>> Mobile:+94 771892453
>>
>>
>


-- 

Best Regards,

Malaka Silva
Senior Technical Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/

https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] CAS is not working when the application is a SaaS app

2016-11-15 Thread Kanapriya Kuleswararajan
Hi Malaka,

I have tested existing cas-inbound-authenticator by enable the SaaS
application in super tenant domain and try to login from different tenant
domain. But I couldn't login with different tenant domain.

I checked with above fix also, It works fine when the application is a SaaS
app.

Thanks

Kanapriya Kuleswararajan
Associate Software Engineer
Mobile : - 0774894438
Mail : - kanapr...@wso2.com

On Tue, Nov 15, 2016 at 5:41 PM, Hasintha Indrajee 
wrote:

> Hi all,
>
> Please find the below fix for this issue. This includes an API change.
> Please review and merge this fix.
>
> [1] https://github.com/wso2-extensions/identity-inbound-auth-cas/pull/10
>
> On Tue, Nov 15, 2016 at 2:52 PM, Malaka Silva  wrote:
>
>> Kanapriya can you have a quick look and update with findings please?
>>
>> On Tue, Nov 15, 2016 at 11:33 AM, Hasintha Indrajee 
>> wrote:
>>
>>> Hi All,
>>>
>>> CAS is not working when we register a SaaS application and when I am
>>> trying to login from a different tenant user. This should be supported by
>>> CAS authentication as it is a basic requirement.
>>>
>>> --
>>> Hasintha Indrajee
>>> WSO2, Inc.
>>> Mobile:+94 771892453
>>>
>>>
>>
>>
>> --
>>
>> Best Regards,
>>
>> Malaka Silva
>> Senior Technical Lead
>> M: +94 777 219 791
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300
>> Skype : malaka.sampath.silva
>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>> Blog : http://mrmalakasilva.blogspot.com/
>>
>> WSO2, Inc.
>> lean . enterprise . middleware
>> https://wso2.com/signature
>> http://www.wso2.com/about/team/malaka-silva/
>> 
>> https://store.wso2.com/store/
>>
>> Don't make Trees rare, we should keep them with care
>>
>
>
>
> --
> Hasintha Indrajee
> WSO2, Inc.
> Mobile:+94 771892453
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] CAS is not working when the application is a SaaS app

2016-11-15 Thread Hasintha Indrajee
Hi all,

Please find the below fix for this issue. This includes an API change.
Please review and merge this fix.

[1] https://github.com/wso2-extensions/identity-inbound-auth-cas/pull/10

On Tue, Nov 15, 2016 at 2:52 PM, Malaka Silva  wrote:

> Kanapriya can you have a quick look and update with findings please?
>
> On Tue, Nov 15, 2016 at 11:33 AM, Hasintha Indrajee 
> wrote:
>
>> Hi All,
>>
>> CAS is not working when we register a SaaS application and when I am
>> trying to login from a different tenant user. This should be supported by
>> CAS authentication as it is a basic requirement.
>>
>> --
>> Hasintha Indrajee
>> WSO2, Inc.
>> Mobile:+94 771892453
>>
>>
>
>
> --
>
> Best Regards,
>
> Malaka Silva
> Senior Technical Lead
> M: +94 777 219 791
> Tel : 94 11 214 5345
> Fax :94 11 2145300
> Skype : malaka.sampath.silva
> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
> Blog : http://mrmalakasilva.blogspot.com/
>
> WSO2, Inc.
> lean . enterprise . middleware
> https://wso2.com/signature
> http://www.wso2.com/about/team/malaka-silva/
> 
> https://store.wso2.com/store/
>
> Don't make Trees rare, we should keep them with care
>



-- 
Hasintha Indrajee
WSO2, Inc.
Mobile:+94 771892453
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] CAS is not working when the application is a SaaS app

2016-11-15 Thread Malaka Silva
Kanapriya can you have a quick look and update with findings please?

On Tue, Nov 15, 2016 at 11:33 AM, Hasintha Indrajee 
wrote:

> Hi All,
>
> CAS is not working when we register a SaaS application and when I am
> trying to login from a different tenant user. This should be supported by
> CAS authentication as it is a basic requirement.
>
> --
> Hasintha Indrajee
> WSO2, Inc.
> Mobile:+94 771892453
>
>


-- 

Best Regards,

Malaka Silva
Senior Technical Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/

https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] JWT Bearer Grant not working with IS 5.2.0

2016-11-15 Thread Malaka Silva
If this does not work with fresh pack we can't say it's supported.

On Tue, Nov 15, 2016 at 9:38 AM, Thulasika Vijayanathan 
wrote:

> Hi,
>
> I have applied this fixed as a patch in 5.2.0 it works.
>
> Thanks,
> Thulasika.
>
> On Mon, Nov 14, 2016 at 12:25 AM, Farasath Ahamed 
> wrote:
>
>> Yes. This is now fixed with [1] by Maduranga. Now we can enable to
>> disable custom grant types using the Service Provider UI.
>>
>> Shall we update the JWT Grant Type connector docs with this change?
>>
>>
>> [1] https://wso2.org/jira/browse/IDENTITY-5260
>>
>> Thanks,
>> Farasath Ahamed
>> Software Engineer, WSO2 Inc.; http://wso2.com
>> Mobile: +94777603866
>> Blog: blog.farazath.com
>> Twitter: @farazath619 
>> 
>>
>>
>>
>> On Fri, Nov 11, 2016 at 5:36 PM, Malaka Silva  wrote:
>>
>>> So the fix needs to come from IS side I guess?
>>>
>>> On Fri, Nov 11, 2016 at 4:44 PM, Maduranga Siriwardena <
>>> madura...@wso2.com> wrote:
>>>
 Hi Thulasika,

 This issue is already reported with [1].

 As a fix we are planning to add the custom grant types also to the
 OAuth application configuration page to enable or disable.

 Thanks,
 Maduranga.

 [1] https://wso2.org/jira/browse/IDENTITY-5260

 On Nov 11, 2016 4:23 PM, "Thulasika Vijayanathan" 
 wrote:

> Hi ,
>
> I have checked the JWT grant type[1] in IS 5.2.0. It does not  work,
> when validating the grant type it throws the exception[2].
>
> We need to get the  Allowed grant types as JWT,  but there is no
> option to thick the JWT grant type in UI. is there any way to get the JWT
> grant type?
> [image: Inline image 2]
>
> [1] https://github.com/wso2-extensions/identity-oauth2-grant
> -jwt/blob/master/component/grant-type/src/main/java/org/wso2
> /carbon/identity/oauth2/grant/jwt/JWTBearerGrantHandler.java#L125
>
> [2] https://github.com/wso2-extensions/identity-inbound-auth
> -oauth/blob/v5.1.3/components/org.wso2.carbon.identity.oauth
> /src/main/java/org/wso2/carbon/identity/oauth2/token/handler
> s/grant/AbstractAuthorizationGrantHandler.java#L507
>
> Thanks,
> Thulasika.
> --
> Thulasika
> Associate Software Engineer
> Mobile:0778014295
> email: thulas...@wso2.com 
>

>>>
>>>
>>> --
>>>
>>> Best Regards,
>>>
>>> Malaka Silva
>>> Senior Technical Lead
>>> M: +94 777 219 791
>>> Tel : 94 11 214 5345
>>> Fax :94 11 2145300
>>> Skype : malaka.sampath.silva
>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>> Blog : http://mrmalakasilva.blogspot.com/
>>>
>>> WSO2, Inc.
>>> lean . enterprise . middleware
>>> https://wso2.com/signature
>>> http://www.wso2.com/about/team/malaka-silva/
>>> 
>>> https://store.wso2.com/store/
>>>
>>> Don't make Trees rare, we should keep them with care
>>>
>>
>>
>
>
> --
> Thulasika
> Associate Software Engineer
> Mobile:0778014295
> email: thulas...@wso2.com 
>



-- 

Best Regards,

Malaka Silva
Senior Technical Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/

https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev