Shall we fix. We need to,
1. Verify the fix with previous versions. 2. Update the store to mention that it supports IS 510, 520 and 530 @Thulasika - Please check this after doc-sign. On Thu, Jan 19, 2017 at 9:17 AM, Thulasika Vijayanathan <[email protected]> wrote: > Hi Nuwandi, > > The solution you have provided is working, Thank you for your help. > > Thanks, > Thulasika. > > On Wed, Jan 18, 2017 at 11:14 PM, Nuwandi Wickramasinghe < > [email protected]> wrote: > >> Hi Thulasika, >> >> I could successfully load the iframe by getting rid of >> *HttpServletResponse*.*encodeRedirectURL() *method at [1]. Since the *DuoUrl >> *contain some data with special characters, you need to URL encode them >> in order to get this working. I have attached the patch file with the code >> changes I did to get it working. >> >> However, I could not figure out why >> *HttpServletResponse*.*encodeRedirectURL() >> *causes issues only in 5.3.0. There's no javax.servlet api version >> change between 5.2.0 and 5.3.0 AFAIS. >> >> [1] https://github.com/wso2-extensions/identity-outbound-aut >> h-duo/blob/org.wso2.carbon.extension.identity.authenticator. >> duo-1.0.1/component/authenticator/src/main/java/org/wso2/carbon/identity/ >> authenticator/duo/DuoAuthenticator.java#L134 >> >> On Wed, Jan 18, 2017 at 10:09 PM, Thulasika Vijayanathan < >> [email protected]> wrote: >> >>> Hi Nuwandi, >>> >>> Yes, I use the same values. >>> >>> Thanks. >>> >>> On Wed, Jan 18, 2017 at 9:59 PM, Nuwandi Wickramasinghe < >>> [email protected]> wrote: >>> >>>> Hi Thulasika, >>>> >>>> Are you using same duo API configuration values (i.e Secret Key, >>>> Integration Key, Admin Secret Key, Admin Integration key ) in both >>>> 5.2.0 and 5.3.0? >>>> >>>> thanks >>>> Nuwandi >>>> >>>> On Tue, Jan 17, 2017 at 2:24 PM, Thulasika Vijayanathan < >>>> [email protected]> wrote: >>>> >>>>> Hi, >>>>> >>>>> I am verifying the authenticators with IS 5.3.0. When I test Duo >>>>> security authenticator with IS 5.3.0, I got the blank page, but it works >>>>> with IS 5.2.0. It seems redirect URL and signature are correct, because If >>>>> we give the wrong signature, the page will display as Access denied, Duo >>>>> Provisioning connector works fine with both IS 5.2.0 and 5.3.0. >>>>> >>>>> Redirect URL in IS 5.3.0 >>>>> https://localhost:9443/duoauthenticationendpoint/duoAuth.jsp >>>>> ?authenticator=DuoAuthenticator:LOCAL&type=duo&signreq=TX|YW >>>>> RtaW58REkySjlaVk40NEM4UlZRQzdTUkJ8MTQ4NDY0MDUwMg==|f4345a7f5 >>>>> 17828d259b235703310c09b594b736c:APP|YWRtaW58REkySjlaVk40NEM4 >>>>> UlZRQzdTUkJ8MTQ4NDY0MzgwMg==|f65d989f837105e4a4d77167911f5ab >>>>> f09b7095c&sessionDataKey=bd19a4d8-f08e-4322-b0a8-cbbb31a144a >>>>> 7&duoHost=api-xxxxxxxx.duosecurity.com >>>>> >>>>> [image: Inline image 3] >>>>> >>>>> Redirect URL in IS 5.2.0 >>>>> https://localhost:9443/duoauthenticationendpoint/duoAuth.jsp >>>>> ?authenticator=DuoAuthenticator:LOCAL&type=duo&signreq=TX|YW >>>>> RtaW58REkySjlaVk40NEM4UlZRQzdTUkJ8MTQ4NDY0MDcxMQ==|969c487f9 >>>>> 80bfb10e7a45a4b43d06543a78b9500:APP|YWRtaW58REkySjlaVk40NEM4 >>>>> UlZRQzdTUkJ8MTQ4NDY0NDAxMQ==|bb3be42f90aa3cfc38a5f42600fa4a9 >>>>> ed8776421&sessionDataKey=04c82f8e-ce66-454b-9cbf-a671404109d >>>>> 7&duoHost=api-xxxxxxxx.duosecurity.com >>>>> >>>>> [image: Inline image 2] >>>>> Can you please suggest what could be the reason? >>>>> >>>>> >>>>> Thanks, >>>>> Thulasika. >>>>> >>>>> -- >>>>> Thulasika >>>>> Associate Software Engineer >>>>> Mobile:0778014295 <077%20801%204295> >>>>> email: [email protected] <[email protected]> >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> Best Regards, >>>> >>>> Nuwandi Wickramasinghe >>>> >>>> Software Engineer >>>> >>>> WSO2 Inc. >>>> >>>> Web : http://wso2.com >>>> >>>> Mobile : 0719214873 <071%20921%204873> >>>> >>> >>> >>> >>> -- >>> Thulasika >>> Associate Software Engineer >>> Mobile:0778014295 <077%20801%204295> >>> email: [email protected] <[email protected]> >>> >> >> >> >> -- >> >> Best Regards, >> >> Nuwandi Wickramasinghe >> >> Software Engineer >> >> WSO2 Inc. >> >> Web : http://wso2.com >> >> Mobile : 0719214873 <071%20921%204873> >> > > > > -- > Thulasika > Associate Software Engineer > Mobile:0778014295 <077%20801%204295> > email: [email protected] <[email protected]> > -- Best Regards, Malaka Silva Associate Director / Architect 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/ <http://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 [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
