Hello,
Not sure if I'm posting in the correct forum.
I have this unique issue..I have a load balancer (as of now 2 tomcat instances) in AWS ,my application uses spring social (linkedin & facebook),both oauth2.
I'm often getting this exception,
The OAuth2 'state' parameter doesn't match.
at org.springframework.social.connect.web.ConnectSupp ort.verifyStateParameter(ConnectSupport.java:165) ~[spring-social-web-1.1.0.M3.jar:1.1.0.M3]
If I switch to only one instance (by removing one of the instance from load balancer) it works fine..
The spring code compares of the request parameter and the request attribute and may be the request is handled in 2 different servers when 2 calls are made with social media,for getting authroization code and the 2nd one for getting access token
I think there is something minor I'm missing here and not sure what that is..
any ideas appreciated..
Hari
Not sure if I'm posting in the correct forum.
I have this unique issue..I have a load balancer (as of now 2 tomcat instances) in AWS ,my application uses spring social (linkedin & facebook),both oauth2.
I'm often getting this exception,
The OAuth2 'state' parameter doesn't match.
at org.springframework.social.connect.web.ConnectSupp ort.verifyStateParameter(ConnectSupport.java:165) ~[spring-social-web-1.1.0.M3.jar:1.1.0.M3]
If I switch to only one instance (by removing one of the instance from load balancer) it works fine..
The spring code compares of the request parameter and the request attribute and may be the request is handled in 2 different servers when 2 calls are made with social media,for getting authroization code and the 2nd one for getting access token
I think there is something minor I'm missing here and not sure what that is..
any ideas appreciated..
Hari