[+ dev@]

On Thu, Jun 30, 2016 at 4:41 PM, Rushmin Fernando <rush...@wso2.com> wrote:

> One thing we can do is, check whether the user is available using
> userStoreManager.isExistingUser() method call before the line [1]
>
>
> [1]
> https://github.com/wso2/carbon-appmgt/blob/master/components/org.wso2.carbon.appmgt.impl/src/main/java/org/wso2/carbon/appmgt/impl/token/DefaultClaimsRetriever.java#L91
>
> On Thu, Jun 30, 2016 at 4:31 PM, Rushmin Fernando <rush...@wso2.com>
> wrote:
>
>>
>> Sajith / Dinusha,
>>
>> In our default JWT implementation it tries to get the claims of the user
>> from the  gateway node's user store.
>>
>> But when it comes to the enterprise subscription scenario, the
>> authenticated user doesn't exist in the node's user store ( because the
>> user is authenticated by a third party IDP like google )
>>
>> The impact is, we can't enable enterprise subscription since it gives an
>> error while generating the JWT
>>
>> Is this something we have discussed before ?
>>
>>
>>
>>
>>
>> --
>> *Best Regards*
>>
>> *Rushmin Fernando*
>> *Technical Lead*
>>
>> WSO2 Inc. <http://wso2.com/> - Lean . Enterprise . Middleware
>>
>> mobile : +94772891266
>>
>>
>>
>
>
> --
> *Best Regards*
>
> *Rushmin Fernando*
> *Technical Lead*
>
> WSO2 Inc. <http://wso2.com/> - Lean . Enterprise . Middleware
>
> mobile : +94772891266
>
>
>


-- 
*Best Regards*

*Rushmin Fernando*
*Technical Lead*

WSO2 Inc. <http://wso2.com/> - Lean . Enterprise . Middleware

mobile : +94772891266
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to