Hi Srikanth,

What is your mailChimp instance URL? Can you please share it(For Example
https://us12.admin.mailchimp.com/account/). You don't need to use the
localhost configuration. The Redirect URI should be
https://52.41.122.92:9443/commonauth <https://52.41.122.92:9443/commonauthv>

On Wed, Sep 28, 2016 at 11:20 AM, Srikanth Puppala <
puppala.srika...@gmail.com> wrote:

> Hi Hariprasant,
>
> Yes, I did followed documentation. I did not use "localhost", instead of
> localhost I used IP address of my machine where Identity Server is running.
> It is public IP.
>
> *In MailChimp Registration, I am using following:*
> For instance, configured app website as: http://52.41.122.92:8080/
> travelocity.com/index.jsp
> Redirect URI as: https://52.41.122.92:9443/commonauthv
>
> Do I need to use localhost configuration??
>
> Thanks & Regards,
> Srikanth Puppala.
>
> On Tue, Sep 27, 2016 at 9:56 PM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Hi Srikanth,
>>
>> Did you follow the documentation? Here the error came because of the
>> wrong user info endpoint. You need to give the user info endpoint like in
>> the documentation. Please follow the documentation.
>>
>> On Wed, Sep 28, 2016 at 9:44 AM, Srikanth Puppala <
>> puppala.srika...@gmail.com> wrote:
>>
>>> Hi Hariprasant,
>>>
>>> Thanks a lot for the quick patch, I tried the patch and now I am getting
>>> different issue. I am I doing something wrong?
>>>
>>> *Following is the error stacktrace.*
>>>
>>> [2016-09-28 04:11:06,806] ERROR {org.wso2.carbon.identity.auth
>>> enticator.mailChimp.MailChimpAuthenticator} -  Error occurred while
>>> accessing user info
>>> endpoint
>>> java.lang.IllegalArgumentException: String '<!DOCTYPE html>
>>> <html>
>>> <head>
>>>     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
>>>     <meta name="copyright" content="Copyright (c) {date('Y')} MailChimp.
>>> All Rights Reserved." />
>>>     <meta name="viewport" content="width=device-width, initial-scale=1,
>>> maximum-scale=1, user-scalable=no" />
>>>     <meta name="apple-mobile-web-app-capable" content="yes" />
>>>     <title>404: Page Not Found | MailChimp</title>
>>>     <link href="https://fonts.googleapis.com/css?family=Open+Sans:300i
>>> talic,300,400italic,400,600italic,600,700italic,700,800italic,800"
>>> rel="styleshe
>>> et" type="text/css">
>>>     <style type="text/css">
>>>         /* Duplicating CSS classes since this page can not load
>>> theone.less */
>>>         * { -moz-box-sizing: border-box; -webkit-box-sizing: border-box;
>>> box-sizing: border-box;}
>>>         html, body, div, span, object, iframe,h1, h2, h3, h4, h5, h6, p,
>>> blockquote, pre,a, abbr, acronym, address, code,del, dfn, em, img, q, dl,
>>> dt,
>>>  dd, ol, ul, li,fieldset, form, label, legend, textarea,table, caption,
>>> tbody, tfoot, thead, tr, th, td {margin: 0;padding: 0;border:
>>> 0;font-weight: i
>>> nherit;font-style: inherit;font-size: 100%;font-family:
>>> inherit;vertical-align: baseline;line-height: 1.5em;}
>>>         body {color: #595959;font-family: "Helvetica
>>> Neue",Helvetica,Arial,Verdana,sans-serif;font-size: 1em;line-height:
>>> 0.375em;text-rendering: opti
>>> mizelegibility;vertical-align: baseline;}
>>>         a, a:visited {color: #45BCD2;text-decoration: none;}
>>>         a .nolink, a:visited .nolink {color: #595959;}
>>>         a:hover {color: #2AA0B5;}
>>>         .bg-white {background-color: #FFFFFF;}
>>>         .centered{float: none; margin-left: auto; margin-right: auto;}
>>>         .alignc {text-align: center;}
>>>         .line {overflow: auto;}
>>>         .size1of1 {width: 100%;}
>>>         .lastUnit { background-clip: padding-box !important; float:
>>> none; overflow: hidden; padding-left: 15px; padding-right: 15px; width:
>>> auto }
>>>         .below36 {margin-bottom: 2.25em !important;}
>>>
>>>         h1, .h1, h2, .h2, h3, .h3, h4, .h4 {color: #595959; font-family:
>>> "Helvetica Neue",Helvetica,Arial,Verdana,sans-serif; font-weight: bold;}
>>>         h1, .h1 {font-size: 2.5em; line-height: 1.2em; margin-bottom:
>>> 0.15em;}
>>>         h4, .h4 {font-size: 1.125em; font-weight: 500; letter-spacing:
>>> 0.01em; line-height: 1.66667em; margin-bottom: 0.333333em;}
>>>         p, .p {font-size: 0.9375em;line-height: 1.6em;margin-bottom:
>>> 1.2em;max-width: 550px;}
>>>         button, .button, .button-small {-moz-user-select:
>>> none;background-color: #E0E0E0;border: medium none;border-radius: 3px 3px
>>> 3px 3px;color: #73
>>> 7373;cursor: pointer;display: inline-block;font-family: "Helvetica
>>> Neue",Helvetica,Arial,Verdana,sans-serif;font-size:
>>> 0.9375em;font-weight: 700;heigh
>>> t: 42px;letter-spacing: 0.01em;line-height: 41px;margin-right:
>>> 18px;padding: 0 18px;text-align: center;text-shadow: none
>>> !important;text-transform: ca
>>> pitalize;vertical-align: middle;
>>>         }
>>>         button.p0, .button.p0, .button-small.p0 {background-color:
>>> #737373; border: medium none;color: #FFFFFF;}
>>>         /* EO Duplicating CSS classes since this page can not load
>>> theone.less */
>>>
>>>         .error-page{ max-width: 390px;}
>>>         .error-image{ padding: 56px 0; }
>>>     </style>
>>> </head>
>>> <body class="error-page bg-white centered">
>>>
>>>     <!-- 404 image -->
>>>     <div class="line error-image">
>>>         <div class="lastUnit size1of1 alignc">
>>>             <img src="/images/404.png" alt="Watson?" />
>>>         </div>
>>>     </div>
>>>     <!-- /404 image -->
>>>
>>>     <!-- 404 Message -->
>>>     <div class="line below36">
>>>         <div class="lastUnit size1of1">
>>>             <h1 class="h4">Come, Watson, come! The game is afoot.</h1>
>>>             <p>You've stumbled upon a missing page, but the evidence is
>>> elementary. We're on the case.</p>
>>>         </div>
>>>     </div>
>>>     <!-- /404 Message -->
>>>
>>>
>>>     <div class="line below36">
>>>         <div class="lastUnit size1of1">
>>>             <a href="/" class="button p0">Return to the Dashboard</a>
>>>         </div>
>>>     </div>
>>>
>>> </body>
>>> </html>
>>> ' is not a valid JSON object representation, a JSON object text must
>>> begin with '{'
>>>         at org.apache.oltu.oauth2.common.utils.JSONUtils.parseJSON(JSON
>>> Utils.java:62)
>>>         at org.wso2.carbon.identity.authenticator.mailChimp.MailChimpAu
>>> thenticator.getSubjectAttributes(MailChimpAuthenticator.java:227)
>>>         at org.wso2.carbon.identity.authenticator.mailChimp.MailChimpAu
>>> thenticator.processAuthenticationResponse(MailChimpAuthentic
>>> ator.java:194)
>>>         at org.wso2.carbon.identity.application.authentication.framewor
>>> k.AbstractApplicationAuthenticator.process(AbstractApplicati
>>> onAuthenticator.jav
>>> a:69)
>>>         at org.wso2.carbon.identity.application.authentication.framewor
>>> k.handler.step.impl.DefaultStepHandler.doAuthentication(Defa
>>> ultStepHandler.java
>>> :465)
>>>         at org.wso2.carbon.identity.application.authentication.framewor
>>> k.handler.step.impl.DefaultStepHandler.handleResponse(Defaul
>>> tStepHandler.java:4
>>> 39)
>>>         at org.wso2.carbon.identity.application.authentication.framewor
>>> k.handler.step.impl.DefaultStepHandler.handle(DefaultStepHan
>>> dler.java:143)
>>>         at org.wso2.carbon.identity.application.authentication.framewor
>>> k.handler.sequence.impl.DefaultStepBasedSequenceHandler.hand
>>> le(DefaultStepBased
>>> SequenceHandler.java:173)
>>>         at org.wso2.carbon.identity.application.authentication.framewor
>>> k.handler.request.impl.DefaultAuthenticationRequestHandler.h
>>> andle(DefaultAuthen
>>> ticationRequestHandler.java:121)
>>>         at org.wso2.carbon.identity.application.authentication.framewor
>>> k.handler.request.impl.DefaultRequestCoordinator.handle(Defa
>>> ultRequestCoordinat
>>> or.java:137)
>>>         at org.wso2.carbon.identity.application.authentication.framewor
>>> k.servlet.CommonAuthenticationServlet.doPost(CommonAuthentic
>>> ationServlet.java:5
>>> 3)
>>>         at org.wso2.carbon.identity.application.authentication.framewor
>>> k.servlet.CommonAuthenticationServlet.doGet(CommonAuthentica
>>> tionServlet.java:43
>>> )
>>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
>>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
>>>         at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.se
>>> rvice(ContextPathServletAdaptor.java:37)
>>>         at org.eclipse.equinox.http.servlet.internal.ServletRegistratio
>>> n.service(ServletRegistration.java:61)
>>>         at org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce
>>> ssAlias(ProxyServlet.java:128)
>>>         at org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi
>>> ce(ProxyServlet.java:60)
>>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
>>>         at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service
>>> (DelegationServlet.java:68)
>>>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>>> lter(ApplicationFilterChain.java:303)
>>>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>>> licationFilterChain.java:208)
>>>         at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilte
>>> r.java:52)
>>>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>>> lter(ApplicationFilterChain.java:241)
>>>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>>> licationFilterChain.java:208)
>>>         at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilte
>>> r(CharacterSetFilter.java:61)
>>>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>>> lter(ApplicationFilterChain.java:241)
>>>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>>> licationFilterChain.java:208)
>>>         at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilte
>>> r(HttpHeaderSecurityFilter.java:120)
>>>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>>> lter(ApplicationFilterChain.java:241)
>>>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>>> licationFilterChain.java:208)
>>>         at org.apache.catalina.core.StandardWrapperValve.invoke(Standar
>>> dWrapperValve.java:218)
>>>         at org.apache.catalina.core.StandardContextValve.invoke(Standar
>>> dContextValve.java:122)
>>>         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(A
>>> uthenticatorBase.java:505)
>>>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHo
>>> stValve.java:169)
>>>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
>>> rtValve.java:103)
>>>         at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInv
>>> ocation(CompositeValve.java:99)
>>>         at org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke
>>> (CarbonTomcatValve.java:47)
>>>         at org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(Tena
>>> ntLazyLoaderValve.java:57)
>>>         at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invok
>>> eValves(TomcatValveContainer.java:47)
>>>         at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(Comp
>>> ositeValve.java:62)
>>>         at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetection
>>> Valve.invoke(CarbonStuckThreadDetectionValve.java:159)
>>>         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogVa
>>> lve.java:956)
>>>         at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.
>>> invoke(CarbonContextCreatorValve.java:57)
>>>         at org.apache.catalina.core.StandardEngineValve.invoke(Standard
>>> EngineValve.java:116)
>>>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
>>> apter.java:442)
>>>         at org.apache.coyote.http11.AbstractHttp11Processor.process(Abs
>>> tractHttp11Processor.java:1082)
>>>         at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler
>>> .process(AbstractProtocol.java:623)
>>>         at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun
>>> (NioEndpoint.java:1756)
>>>         at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(N
>>> ioEndpoint.java:1715)
>>>         at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
>>> Source)
>>>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
>>> Source)
>>>         at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.r
>>> un(TaskThread.java:61)
>>>         at java.lang.Thread.run(Unknown Source)
>>> [2016-09-28 04:11:06,935] ERROR {org.wso2.carbon.identity.appl
>>> ication.authentication.framework.handler.request.impl.DefaultRequestCoordinator}
>>> -  Exce
>>> ption in Authentication Framework
>>> java.lang.IllegalArgumentException: Failed to create Federated
>>> Authenticated User from the given subject identifier. Invalid argument.
>>> authenticatedSu
>>> bjectIdentifier : null
>>>         at org.wso2.carbon.identity.application.authentication.framewor
>>> k.model.AuthenticatedUser.createFederateAuthenticatedUserFro
>>> mSubjectIdentifier(
>>> AuthenticatedUser.java:131)
>>>         at org.wso2.carbon.identity.authenticator.mailChimp.MailChimpAu
>>> thenticator.processAuthenticationResponse(MailChimpAuthentic
>>> ator.java:196)
>>>         at org.wso2.carbon.identity.application.authentication.framewor
>>> k.AbstractApplicationAuthenticator.process(AbstractApplicati
>>> onAuthenticator.jav
>>> a:69)
>>>         at org.wso2.carbon.identity.application.authentication.framewor
>>> k.handler.step.impl.DefaultStepHandler.doAuthentication(Defa
>>> ultStepHandler.java
>>> :465)
>>>         at org.wso2.carbon.identity.application.authentication.framewor
>>> k.handler.step.impl.DefaultStepHandler.handleResponse(Defaul
>>> tStepHandler.java:4
>>> 39)
>>>         at org.wso2.carbon.identity.application.authentication.framewor
>>> k.handler.step.impl.DefaultStepHandler.handle(DefaultStepHan
>>> dler.java:143)
>>>         at org.wso2.carbon.identity.application.authentication.framewor
>>> k.handler.sequence.impl.DefaultStepBasedSequenceHandler.hand
>>> le(DefaultStepBased
>>> SequenceHandler.java:173)
>>>         at org.wso2.carbon.identity.application.authentication.framewor
>>> k.handler.request.impl.DefaultAuthenticationRequestHandler.h
>>> andle(DefaultAuthen
>>> ticationRequestHandler.java:121)
>>>         at org.wso2.carbon.identity.application.authentication.framewor
>>> k.handler.request.impl.DefaultRequestCoordinator.handle(Defa
>>> ultRequestCoordinat
>>> or.java:137)
>>>         at org.wso2.carbon.identity.application.authentication.framewor
>>> k.servlet.CommonAuthenticationServlet.doPost(CommonAuthentic
>>> ationServlet.java:5
>>> 3)
>>>         at org.wso2.carbon.identity.application.authentication.framewor
>>> k.servlet.CommonAuthenticationServlet.doGet(CommonAuthentica
>>> tionServlet.java:43
>>> )
>>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
>>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
>>>         at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.se
>>> rvice(ContextPathServletAdaptor.java:37)
>>>         at org.eclipse.equinox.http.servlet.internal.ServletRegistratio
>>> n.service(ServletRegistration.java:61)
>>>         at org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce
>>> ssAlias(ProxyServlet.java:128)
>>>         at org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi
>>> ce(ProxyServlet.java:60)
>>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
>>>         at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service
>>> (DelegationServlet.java:68)
>>>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>>> lter(ApplicationFilterChain.java:303)
>>>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>>> licationFilterChain.java:208)
>>>         at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilte
>>> r.java:52)
>>>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>>> lter(ApplicationFilterChain.java:241)
>>>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>>> licationFilterChain.java:208)
>>>         at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilte
>>> r(CharacterSetFilter.java:61)
>>>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>>> lter(ApplicationFilterChain.java:241)
>>>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>>> licationFilterChain.java:208)
>>>         at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilte
>>> r(HttpHeaderSecurityFilter.java:120)
>>>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>>> lter(ApplicationFilterChain.java:241)
>>>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>>> licationFilterChain.java:208)
>>>         at org.apache.catalina.core.StandardWrapperValve.invoke(Standar
>>> dWrapperValve.java:218)
>>>         at org.apache.catalina.core.StandardContextValve.invoke(Standar
>>> dContextValve.java:122)
>>>         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(A
>>> uthenticatorBase.java:505)
>>>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHo
>>> stValve.java:169)
>>>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
>>> rtValve.java:103)
>>>         at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInv
>>> ocation(CompositeValve.java:99)
>>>         at org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke
>>> (CarbonTomcatValve.java:47)
>>>         at org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(Tena
>>> ntLazyLoaderValve.java:57)
>>>         at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invok
>>> eValves(TomcatValveContainer.java:47)
>>>         at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(Comp
>>> ositeValve.java:62)
>>>         at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetection
>>> Valve.invoke(CarbonStuckThreadDetectionValve.java:159)
>>>         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogVa
>>> lve.java:956)
>>>         at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.
>>> invoke(CarbonContextCreatorValve.java:57)
>>>         at org.apache.catalina.core.StandardEngineValve.invoke(Standard
>>> EngineValve.java:116)
>>>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
>>> apter.java:442)
>>>         at org.apache.coyote.http11.AbstractHttp11Processor.process(Abs
>>> tractHttp11Processor.java:1082)
>>>         at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler
>>> .process(AbstractProtocol.java:623)
>>>         at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun
>>> (NioEndpoint.java:1756)
>>>         at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(N
>>> ioEndpoint.java:1715)
>>>         at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
>>> Source)
>>>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
>>> Source)
>>>         at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.r
>>> un(TaskThread.java:61)
>>>         at java.lang.Thread.run(Unknown Source)
>>>
>>>
>>>
>>>
>>>
>>> Thanks & Regards,
>>> Srikanth Puppala.
>>>
>>> On Tue, Sep 27, 2016 at 1:14 AM, Hariprasath Thanarajah <
>>> haripras...@wso2.com> wrote:
>>>
>>>> Hi Srikanth,
>>>>
>>>> You can find the new version of authenticator in [1] and the
>>>> documentation in [2].
>>>>
>>>> [1] - https://store.wso2.com/store/assets/isconnector/7c9237bc-6d3
>>>> 4-4416-8cbd-f69a6ca1893e
>>>>
>>>> [2] - https://docs.wso2.com/display/ISCONNECTORS/Configuring+MailC
>>>> himp+Authenticator
>>>>
>>>> On Tue, Sep 27, 2016 at 4:02 AM, Hariprasath Thanarajah <
>>>> haripras...@wso2.com> wrote:
>>>>
>>>>> Yes sure we will provide the fix version of mailChimp Authenticator
>>>>> soon.
>>>>>
>>>>>
>>>>> On Monday, September 26, 2016, Srikanth Puppala <
>>>>> puppala.srika...@gmail.com> wrote:
>>>>>
>>>>>> Hi Malaka/Hariparshath,
>>>>>>
>>>>>> It would be great if you provide a fix on top of Identity Server
>>>>>> 5.2.0. I am even fine to go back to any of the versions where MailChimp 
>>>>>> SSO
>>>>>> is functional.
>>>>>>
>>>>>> Thanks & Regards,
>>>>>> Srikanth Puppala.
>>>>>>
>>>>>> On Mon, Sep 26, 2016 at 5:18 AM, Hariprasath Thanarajah <
>>>>>> haripras...@wso2.com> wrote:
>>>>>>
>>>>>>> Yes noted Malaka.
>>>>>>>
>>>>>>>
>>>>>>> On Monday, September 26, 2016, Malaka Silva <mal...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi Srikanth,
>>>>>>>>
>>>>>>>> Thank you for reporting this and we will provide a solution soon.
>>>>>>>>
>>>>>>>> @Hariprasath - Yes you are correct API 2.0 is deprecated and that
>>>>>>>> does not mean it's currently unavailable. So we should ideally be 
>>>>>>>> changing
>>>>>>>> this to the latest version.
>>>>>>>>
>>>>>>>> I managed to reproduce the issue that Srikanth has experienced.
>>>>>>>> The reason for that is endpoint is dynamic. For example my access token
>>>>>>>> should be using https://*us14*.api.mailchimp.com/2.0/users/profile,
>>>>>>>> where as you need to use https://*us12*.api.mailchimp
>>>>>>>> .com/2.0/users/profile for your account. More details can be found
>>>>>>>> in [1]
>>>>>>>>
>>>>>>>> Can we provide a fix for this?
>>>>>>>>
>>>>>>>> [1] http://stackoverflow.com/questions/27875405/invalid-mailchim
>>>>>>>> p-api-key-in-mailchimp-export-api
>>>>>>>>
>>>>>>>> On Mon, Sep 26, 2016 at 4:02 PM, Hariprasath Thanarajah <
>>>>>>>> haripras...@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi Srikanth,
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Mon, Sep 26, 2016 at 10:07 AM, Srikanth Puppala <
>>>>>>>>> puppala.srika...@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Malaka,
>>>>>>>>>>
>>>>>>>>>> Thanks for your response. I did not set any email configuration
>>>>>>>>>> in Identity Server or MailChimp. I followed the doc "
>>>>>>>>>> https://docs.wso2.com/display/ISCONNECTORS/Configuring+Mail
>>>>>>>>>> Chimp+Authenticator".
>>>>>>>>>>
>>>>>>>>>> On forums, I see a bug in WSO2 Identity Server [
>>>>>>>>>> https://wso2.org/jira/browse/IDENTITY-4810]. I tried version
>>>>>>>>>> 5.1.0 and 5.2.0 version of Identity Server and seeing the same 
>>>>>>>>>> problem.
>>>>>>>>>>
>>>>>>>>> I have tried with 5.1.0 and it is working for me(Tried with v2.0
>>>>>>>>> app). The issue because of the mailChimp API version, We created this 
>>>>>>>>> for
>>>>>>>>> api v2.0 their we created the federated authenticated User from the 
>>>>>>>>> email
>>>>>>>>> got from the response of https://apidocs.mailchimp.com/
>>>>>>>>> api/2.0/users/profile.php but now it is deprecated. Thank you for
>>>>>>>>> pointing it. We will update with mailChimp Authenticator for current 
>>>>>>>>> API
>>>>>>>>> version.
>>>>>>>>>
>>>>>>>>>> ,
>>>>>>>>>> I am not really sure about subject identifier and how to
>>>>>>>>>> configure it. Could you please share any doc which will be helpful.
>>>>>>>>>>
>>>>>>>>> You don't need it to configure.
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Thanks & Regards,
>>>>>>>>>> Srikanth Puppala.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Sun, Sep 25, 2016 at 8:53 PM, Malaka Silva <mal...@wso2.com>
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Srikanth,
>>>>>>>>>>>
>>>>>>>>>>> I guess you have setup this as the first step and won't be using
>>>>>>>>>>> any other authenticator afterwards?
>>>>>>>>>>> With mail chimp authinticator we are using email as the subject
>>>>>>>>>>> identifier. Hope you have given a email for the user and set the 
>>>>>>>>>>> required
>>>>>>>>>>> visibility for the API?
>>>>>>>>>>>
>>>>>>>>>>> @Hariprasath - Please follow up on this issue.
>>>>>>>>>>>
>>>>>>>>>>> On Fri, Sep 23, 2016 at 9:31 PM, Srikanth Puppala <
>>>>>>>>>>> puppala.srika...@gmail.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Hi,
>>>>>>>>>>>>
>>>>>>>>>>>> I am trying to connect to MailChimp via WSO2 server
>>>>>>>>>>>> using following document:
>>>>>>>>>>>> https://docs.wso2.com/display/ISCONNECTORS/Configuring+MailC
>>>>>>>>>>>> himp+Authenticator
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> *However I ended up with following error(Any Idea??):*
>>>>>>>>>>>> [2016-09-23 15:53:48,353] ERROR {org.wso2.carbon.identity.appl
>>>>>>>>>>>> ication.authentication.framework.handler.request.impl.DefaultRequestCoordinator}
>>>>>>>>>>>> -  Exception in Authentication 
>>>>>>>>>>>> Frameworkjava.lang.IllegalArgumentException:
>>>>>>>>>>>> Failed to create Federated Authenticated User from the given 
>>>>>>>>>>>> subject
>>>>>>>>>>>> identifier. Invalid argument. authenticatedSubjectIdentifier : null
>>>>>>>>>>>>         at org.wso2.carbon.identity.appli
>>>>>>>>>>>> cation.authentication.framework.model.AuthenticatedUser.crea
>>>>>>>>>>>> teFederateAuthenticatedUserFromSubjectIdentifier(Authenticat
>>>>>>>>>>>> edUser.java:123)
>>>>>>>>>>>>         at org.wso2.carbon.identity.authe
>>>>>>>>>>>> nticator.mailChimp.MailChimpAuthenticator.processAuthenticat
>>>>>>>>>>>> ionResponse(MailChimpAuthenticator.java:190)
>>>>>>>>>>>>         at org.wso2.carbon.identity.appli
>>>>>>>>>>>> cation.authentication.framework.AbstractApplicationAuthentic
>>>>>>>>>>>> ator.process(AbstractApplicationAuthenticator.java:66)
>>>>>>>>>>>>         at org.wso2.carbon.identity.appli
>>>>>>>>>>>> cation.authentication.framework.handler.step.impl.DefaultSte
>>>>>>>>>>>> pHandler.doAuthentication(DefaultStepHandler.java:432)
>>>>>>>>>>>>         at org.wso2.carbon.identity.appli
>>>>>>>>>>>> cation.authentication.framework.handler.step.impl.DefaultSte
>>>>>>>>>>>> pHandler.handleResponse(DefaultStepHandler.java:4
>>>>>>>>>>>> 06)
>>>>>>>>>>>>         at org.wso2.carbon.identity.appli
>>>>>>>>>>>> cation.authentication.framework.handler.step.impl.DefaultSte
>>>>>>>>>>>> pHandler.handle(DefaultStepHandler.java:117)
>>>>>>>>>>>>         at org.wso2.carbon.identity.appli
>>>>>>>>>>>> cation.authentication.framework.handler.sequence.impl.Defaul
>>>>>>>>>>>> tStepBasedSequenceHandler.handle(DefaultStepBased
>>>>>>>>>>>> SequenceHandler.java:171)
>>>>>>>>>>>>         at org.wso2.carbon.identity.appli
>>>>>>>>>>>> cation.authentication.framework.handler.request.impl.Default
>>>>>>>>>>>> AuthenticationRequestHandler.handle(DefaultAuthen
>>>>>>>>>>>> ticationRequestHandler.java:115)
>>>>>>>>>>>>         at org.wso2.carbon.identity.appli
>>>>>>>>>>>> cation.authentication.framework.handler.request.impl.Default
>>>>>>>>>>>> RequestCoordinator.handle(DefaultRequestCoordinat
>>>>>>>>>>>> or.java:135)
>>>>>>>>>>>>         at org.wso2.carbon.identity.appli
>>>>>>>>>>>> cation.authentication.framework.servlet.CommonAuthentication
>>>>>>>>>>>> Servlet.doPost(CommonAuthenticationServlet.java:5
>>>>>>>>>>>> 3)
>>>>>>>>>>>>         at org.wso2.carbon.identity.appli
>>>>>>>>>>>> cation.authentication.framework.servlet.CommonAuthentication
>>>>>>>>>>>> Servlet.doGet(CommonAuthenticationServlet.java:43
>>>>>>>>>>>> )
>>>>>>>>>>>>         at javax.servlet.http.HttpServlet
>>>>>>>>>>>> .service(HttpServlet.java:620)
>>>>>>>>>>>>         at javax.servlet.http.HttpServlet
>>>>>>>>>>>> .service(HttpServlet.java:727)
>>>>>>>>>>>>         at org.eclipse.equinox.http.helpe
>>>>>>>>>>>> r.ContextPathServletAdaptor.service(ContextPathServletAdapto
>>>>>>>>>>>> r.java:37)
>>>>>>>>>>>>         at org.eclipse.equinox.http.servl
>>>>>>>>>>>> et.internal.ServletRegistration.service(ServletRegistration.
>>>>>>>>>>>> java:61)
>>>>>>>>>>>>         at org.eclipse.equinox.http.servl
>>>>>>>>>>>> et.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
>>>>>>>>>>>>         at org.eclipse.equinox.http.servl
>>>>>>>>>>>> et.internal.ProxyServlet.service(ProxyServlet.java:60)
>>>>>>>>>>>>         at javax.servlet.http.HttpServlet
>>>>>>>>>>>> .service(HttpServlet.java:727)
>>>>>>>>>>>>         at org.wso2.carbon.tomcat.ext.ser
>>>>>>>>>>>> vlet.DelegationServlet.service(DelegationServlet.java:68)
>>>>>>>>>>>>         at org.apache.catalina.core.Appli
>>>>>>>>>>>> cationFilterChain.internalDoFilter(ApplicationFilterChain.ja
>>>>>>>>>>>> va:303)
>>>>>>>>>>>>         at org.apache.catalina.core.Appli
>>>>>>>>>>>> cationFilterChain.doFilter(ApplicationFilterChain.java:208)
>>>>>>>>>>>>         at org.apache.tomcat.websocket.se
>>>>>>>>>>>> rver.WsFilter.doFilter(WsFilter.java:52)
>>>>>>>>>>>>         at org.apache.catalina.core.Appli
>>>>>>>>>>>> cationFilterChain.internalDoFilter(ApplicationFilterChain.ja
>>>>>>>>>>>> va:241)
>>>>>>>>>>>>         at org.apache.catalina.core.Appli
>>>>>>>>>>>> cationFilterChain.doFilter(ApplicationFilterChain.java:208)
>>>>>>>>>>>>         at org.wso2.carbon.ui.filters.CSR
>>>>>>>>>>>> FPreventionFilter.doFilter(CSRFPreventionFilter.java:88)
>>>>>>>>>>>>         at org.apache.catalina.core.Appli
>>>>>>>>>>>> cationFilterChain.internalDoFilter(ApplicationFilterChain.ja
>>>>>>>>>>>> va:241)
>>>>>>>>>>>>         at org.apache.catalina.core.Appli
>>>>>>>>>>>> cationFilterChain.doFilter(ApplicationFilterChain.java:208)
>>>>>>>>>>>>         at org.wso2.carbon.ui.filters.CRL
>>>>>>>>>>>> FPreventionFilter.doFilter(CRLFPreventionFilter.java:59)
>>>>>>>>>>>>         at org.apache.catalina.core.Appli
>>>>>>>>>>>> cationFilterChain.internalDoFilter(ApplicationFilterChain.ja
>>>>>>>>>>>> va:241)
>>>>>>>>>>>>         at org.apache.catalina.core.Appli
>>>>>>>>>>>> cationFilterChain.doFilter(ApplicationFilterChain.java:208)
>>>>>>>>>>>>         at org.wso2.carbon.tomcat.ext.fil
>>>>>>>>>>>> ter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
>>>>>>>>>>>>         at org.apache.catalina.core.Appli
>>>>>>>>>>>> cationFilterChain.internalDoFilter(ApplicationFilterChain.ja
>>>>>>>>>>>> va:241)
>>>>>>>>>>>>         at org.apache.catalina.core.Appli
>>>>>>>>>>>> cationFilterChain.doFilter(ApplicationFilterChain.java:208)
>>>>>>>>>>>>         at org.apache.catalina.core.Stand
>>>>>>>>>>>> ardWrapperValve.invoke(StandardWrapperValve.java:220)
>>>>>>>>>>>>         at org.apache.catalina.core.Stand
>>>>>>>>>>>> ardContextValve.invoke(StandardContextValve.java:122)
>>>>>>>>>>>>         at org.apache.catalina.authentica
>>>>>>>>>>>> tor.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
>>>>>>>>>>>>         at org.apache.catalina.core.Stand
>>>>>>>>>>>> ardHostValve.invoke(StandardHostValve.java:170)
>>>>>>>>>>>>         at org.apache.catalina.valves.Err
>>>>>>>>>>>> orReportValve.invoke(ErrorReportValve.java:103)
>>>>>>>>>>>>         at org.wso2.carbon.tomcat.ext.val
>>>>>>>>>>>> ves.CompositeValve.continueInvocation(CompositeValve.java:99)
>>>>>>>>>>>>         at org.wso2.carbon.tomcat.ext.val
>>>>>>>>>>>> ves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
>>>>>>>>>>>>         at org.wso2.carbon.webapp.mgt.Ten
>>>>>>>>>>>> antLazyLoaderValve.invoke(TenantLazyLoaderValve.java:57)
>>>>>>>>>>>>         at org.wso2.carbon.tomcat.ext.val
>>>>>>>>>>>> ves.TomcatValveContainer.invokeValves(TomcatValveContainer.j
>>>>>>>>>>>> ava:47)
>>>>>>>>>>>>         at org.wso2.carbon.tomcat.ext.val
>>>>>>>>>>>> ves.CompositeValve.invoke(CompositeValve.java:62)
>>>>>>>>>>>>         at org.wso2.carbon.tomcat.ext.val
>>>>>>>>>>>> ves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThread
>>>>>>>>>>>> DetectionValve.java:159)
>>>>>>>>>>>>         at org.apache.catalina.valves.Acc
>>>>>>>>>>>> essLogValve.invoke(AccessLogValve.java:950)
>>>>>>>>>>>>         at org.wso2.carbon.tomcat.ext.val
>>>>>>>>>>>> ves.CarbonContextCreatorValve.invoke(CarbonContextCreatorVal
>>>>>>>>>>>> ve.java:57)
>>>>>>>>>>>>         at org.apache.catalina.core.Stand
>>>>>>>>>>>> ardEngineValve.invoke(StandardEngineValve.java:116)
>>>>>>>>>>>>         at org.apache.catalina.connector.
>>>>>>>>>>>> CoyoteAdapter.service(CoyoteAdapter.java:421)
>>>>>>>>>>>>         at org.apache.coyote.http11.Abstr
>>>>>>>>>>>> actHttp11Processor.process(AbstractHttp11Processor.java:1074)
>>>>>>>>>>>>         at org.apache.coyote.AbstractProt
>>>>>>>>>>>> ocol$AbstractConnectionHandler.process(AbstractProtocol.java
>>>>>>>>>>>> :611)
>>>>>>>>>>>>         at org.apache.tomcat.util.net.Nio
>>>>>>>>>>>> Endpoint$SocketProcessor.doRun(NioEndpoint.java:1739)
>>>>>>>>>>>>         at org.apache.tomcat.util.net.Nio
>>>>>>>>>>>> Endpoint$SocketProcessor.run(NioEndpoint.java:1698)
>>>>>>>>>>>>         at 
>>>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
>>>>>>>>>>>> Source)
>>>>>>>>>>>>         at 
>>>>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
>>>>>>>>>>>> Source)
>>>>>>>>>>>>         at org.apache.tomcat.util.threads
>>>>>>>>>>>> .TaskThread$WrappingRunnable.run(TaskThread.java:61)
>>>>>>>>>>>>         at java.lang.Thread.run(Unknown Source)
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Thanks & Regards,
>>>>>>>>>>>> Srikanth Puppala.
>>>>>>>>>>>> 6103065998
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>>
>>>>>>>>>>> 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/
>>>>>>>>>>> <http://wso2.com/about/team/malaka-silva/>
>>>>>>>>>>> https://store.wso2.com/store/
>>>>>>>>>>>
>>>>>>>>>>> Don't make Trees rare, we should keep them with care
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Thanks & Regards,
>>>>>>>>>> Srikanth Puppala.
>>>>>>>>>> 6103065998
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> *Thank you and Regards,**Hariprasath Thanarajah*
>>>>>>>>> Associate Software Engineer | WSO2
>>>>>>>>> E: haripras...@wso2.com
>>>>>>>>> M: +94752806528, 0777216903
>>>>>>>>> Blog: hariwso2.blogspot.com
>>>>>>>>>
>>>>>>>>> Skype : hariss636
>>>>>>>>> LinkedIn : https://www.linkedin.com/in/ha
>>>>>>>>> riprasath-thanarajah-5234b660
>>>>>>>>>
>>>>>>>>> WSO2, Inc.
>>>>>>>>> lean . enterprise . middleware
>>>>>>>>>
>>>>>>>>> https://wso2.com/signature
>>>>>>>>> http://wso2.com/about/team/hariprashath-thanarajah/
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>>
>>>>>>>> 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/
>>>>>>>> <http://wso2.com/about/team/malaka-silva/>
>>>>>>>> https://store.wso2.com/store/
>>>>>>>>
>>>>>>>> Don't make Trees rare, we should keep them with care
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>>
>>>>>>> *Thank you and Regards,**Hariprasath Thanarajah*
>>>>>>> Associate Software Engineer | WSO2
>>>>>>> E: haripras...@wso2.com
>>>>>>> M: +94752806528, 0777216903
>>>>>>> Blog: hariwso2.blogspot.com
>>>>>>>
>>>>>>> Skype : hariss636
>>>>>>> LinkedIn : https://www.linkedin.com/in/ha
>>>>>>> riprasath-thanarajah-5234b660
>>>>>>>
>>>>>>> WSO2, Inc.
>>>>>>> lean . enterprise . middleware
>>>>>>>
>>>>>>> https://wso2.com/signature
>>>>>>> http://wso2.com/about/team/hariprashath-thanarajah/
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Thanks & Regards,
>>>>>> Srikanth Puppala.
>>>>>> 6103065998
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>>
>>>>> *Thank you and Regards,**Hariprasath Thanarajah*
>>>>> Associate Software Engineer | WSO2
>>>>> E: haripras...@wso2.com
>>>>> M: +94752806528, 0777216903
>>>>> Blog: hariwso2.blogspot.com
>>>>>
>>>>> Skype : hariss636
>>>>> LinkedIn : https://www.linkedin.com/in/hariprasath-thanarajah-5234b660
>>>>>
>>>>> WSO2, Inc.
>>>>> lean . enterprise . middleware
>>>>>
>>>>> https://wso2.com/signature
>>>>> http://wso2.com/about/team/hariprashath-thanarajah/
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>>
>>>> *Thank you and Regards,**Hariprasath Thanarajah*
>>>> Associate Software Engineer | WSO2
>>>> E: haripras...@wso2.com
>>>> M: +94752806528, 0777216903
>>>> Blog: hariwso2.blogspot.com
>>>>
>>>> Skype : hariss636
>>>> LinkedIn : https://www.linkedin.com/in/hariprasath-thanarajah-5234b660
>>>>
>>>> WSO2, Inc.
>>>> lean . enterprise . middleware
>>>>
>>>> https://wso2.com/signature
>>>> http://wso2.com/about/team/hariprashath-thanarajah/
>>>>
>>>
>>>
>>>
>>> --
>>> Thanks & Regards,
>>> Srikanth Puppala.
>>> 6103065998
>>>
>>
>>
>>
>> --
>>
>>
>> *Thank you and Regards,**Hariprasath Thanarajah*
>> Associate Software Engineer | WSO2
>> E: haripras...@wso2.com
>> M: +94752806528, 0777216903
>> Blog: hariwso2.blogspot.com
>>
>> Skype : hariss636
>> LinkedIn : https://www.linkedin.com/in/hariprasath-thanarajah-5234b660
>>
>> WSO2, Inc.
>> lean . enterprise . middleware
>>
>> https://wso2.com/signature
>> http://wso2.com/about/team/hariprashath-thanarajah/
>>
>
>
>
> --
> Thanks & Regards,
> Srikanth Puppala.
> 6103065998
>



-- 


*Thank you and Regards,**Hariprasath Thanarajah*
Associate Software Engineer | WSO2
E: haripras...@wso2.com
M: +94752806528, 0777216903
Blog: hariwso2.blogspot.com

Skype : hariss636
LinkedIn : https://www.linkedin.com/in/hariprasath-thanarajah-5234b660

WSO2, Inc.
lean . enterprise . middleware

https://wso2.com/signature
http://wso2.com/about/team/hariprashath-thanarajah/
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to