Page 1 of 1

spring social queries

Posted: Mon May 20, 2013 5:18 am
by ANITHA
hi.

i tried integrating broadleaf application with yammer. when i invoke sign in with yammer it goes to home page of my yammer account. once i sisgn in with yammer i should be redirected back to heatclinic home page know. wat is the procedure that i need to follow. please tel, the flow after integration with yammer

Re: spring social queries

Posted: Mon May 20, 2013 9:03 am
by jfridye
This sounds like an issue with either the configuration of your Yammer account or the configuration of the ProviderSignInController.

Is your Yammer application configured with the proper redirect to the Heat Clinic URL?
If so, have you followed the steps for configuring the ProviderSignInController from http://www.broadleafcommerce.com/post/why-your-ecommerce-site-should-integrate-with-spring-social?

Here is a portion of that post:

Modify the current applicationContext-servlet.xml and add the following bean:

Code: Select all

    <bean class="org.springframework.social.connect.web.ProviderSignInController">
        <property name="applicationUrl" value="${application.url}" />
        <property name="signUpUrl" value="/register" />
        <property name="signInUrl" value="/login" />
    </bean>


Modify the current applicationContext-security.xml and add the following "https" intercept

Code: Select all

    <!-- Spring Social endpoints -->
    <sec:intercept-url pattern="/signin/**" requires-channel="https" />

Step 3) Modify your Broadleaf Runtime Properties files

For example, my development.properties file looks like:

Code: Select all

#Spring Social
facebook.clientId=my_client_id
facebook.clientSecret=my_client_secret

twitter.consumerKey=my_consumer_key
twitter.consumerSecret=my_consumer_secret

application.url=http://127.0.0.1:8080

Re: spring social queries

Posted: Mon Jan 05, 2015 11:41 pm
by Mickel Jacson
i know that on the sku level i can remove that sku with the product option value red, but still i would like to limit the product option values on the product level.