Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-8088

camel-linkedin: java.lang.SecurityException: Invalid CSRF code!

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • fuse-7.2
    • jboss-fuse-6.3, fuse-7.0, fuse-7.1
    • Camel
    • % %
    • Hide

      can be reproduced with camel-linkedin quickstart

      Show
      can be reproduced with camel-linkedin quickstart
    • Fuse 7.2 Sprint 36

      The linkedin component stopped working in 7.0.0.fuse-000187-redhat-1. When trying to use any linkedin endpoint, we see:

      Caused by: java.lang.SecurityException: Invalid CSRF code!
      	at org.apache.camel.component.linkedin.api.LinkedInOAuthRequestFilter.getRefreshToken(LinkedInOAuthRequestFilter.java:217)
      	at org.apache.camel.component.linkedin.api.LinkedInOAuthRequestFilter.updateOAuthToken(LinkedInOAuthRequestFilter.java:297)
      	at org.apache.camel.component.linkedin.api.LinkedInOAuthRequestFilter.filter(LinkedInOAuthRequestFilter.java:258)
      	at org.apache.cxf.jaxrs.client.spec.ClientRequestFilterInterceptor.handleMessage(ClientRequestFilterInterceptor.java:60)
      	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
      	at org.apache.cxf.jaxrs.client.AbstractClient.doRunInterceptorChain(AbstractClient.java:677)
      	at org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:783)
      	... 17 more

      The component is still working with TP4 build, so it's a regression.

            dbokde Dhiraj Bokde
            jkasztur@redhat.com Jan Kasztura (Inactive)
            Jan Kasztura Jan Kasztura (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: