Re: [Dev] [3.0.0] - JWT Token Generation in API Manager

2018-10-10 Thread Pubudu Gunatilaka
Hi Tharindu,

On Tue, Oct 9, 2018 at 5:37 PM Tharindu Dharmarathna 
wrote:

> Hi All,
>>
>> *Problem*
>>
>> In order to generate token as JWT for specific applications, we need to
>> switch the Token Generation implementation according to some application
>> level property.
>>
>> *Solutions*
>>
>> 1. Change DCRM rest API to register Application as JWT token issuer.
>>
>
+1 for this option. I feel this is the most suitable option.

Thank you!
-- 
*Pubudu Gunatilaka*
Committer and PMC Member - Apache Stratos
Senior Software Engineer
WSO2, Inc.: http://wso2.com
mobile : +94774078049 <%2B94772207163>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [3.0.0] - JWT Token Generation in API Manager

2018-10-09 Thread Tharindu Dharmarathna
>
> Hi All,
>
> *Problem*
>
> In order to generate token as JWT for specific applications, we need to
> switch the Token Generation implementation according to some application
> level property.
>
> *Solutions*
>
> 1. Change DCRM rest API to register Application as JWT token issuer.
>
> 2. Implement a custom grant type to generate token as JWT.
>
> 3. Generate token based on the Content-Type header.
>
> What will be the best way to implement this as API Manager 2.5.0 version
> we supports JWT generation for Application for any grant type.
>
>
> Thanks
>
-- 

*Tharindu Dharmarathna*Associate Technical Lead
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94779109091*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev