Hi, We cant use id token that we get from IS 5.1.0 since we can't configure Aud there but this should be fixed in IS 5.2.0.
And I used sample jwt generator class to build a JWT and test the scenario. Thanks, Ishara On Wed, Jul 6, 2016 at 11:58 PM, Malaka Silva <mal...@wso2.com> wrote: > +Keerthika > > On Wed, Jul 6, 2016 at 11:56 AM, Ishara Karunarathna <isha...@wso2.com> > wrote: > >> Hi, >> >> I tried to use JWT grant type using ID token I got from password grant >> type. >> >> Then I got the following error >> "Error occurred while decoding public certificate of Identity Provider >> default for tenant domain carbon.super" >> >> But I have imported the pub key to the IDP >> >> Is this a known issue ? >> Or do we have any other sample to generate a JWT if this ID token is not >> valid. >> >> https://docs.wso2.com/display/ISCONNECTORS/Configuring+JWT+Grant+Type >> >> Thanks, >> Ishara >> >> -- >> Ishara Karunarathna >> Associate Technical Lead >> WSO2 Inc. - lean . enterprise . middleware | wso2.com >> >> email: isha...@wso2.com, blog: isharaaruna.blogspot.com, mobile: >> +94717996791 >> > > > > -- > > 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 > http://www.wso2.com/ > http://www.wso2.com/about/team/malaka-silva/ > <http://wso2.com/about/team/malaka-silva/> > https://store.wso2.com/store/ > > Save a tree -Conserve nature & Save the world for your future. Print this > email only if it is absolutely necessary. > -- Ishara Karunarathna Associate Technical Lead WSO2 Inc. - lean . enterprise . middleware | wso2.com email: isha...@wso2.com, blog: isharaaruna.blogspot.com, mobile: +94717996791
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev