Coder Social home page Coder Social logo

Comments (8)

addam avatar addam commented on August 14, 2024 1

I found a workaround here: http://forum.spring.io/forum/spring-projects/web/social/130520-redirect-problem-with-https
To be more specific, the solution is to set ProviderSignInController.setApplicationUrl("https://something") within the SocialConfigurerAdapter bean. Not that I understand what I'm doing.

Still I believe that spring-social-facebook should set https by default since all apps have to be secured by October.

from spring-social-facebook.

fieder avatar fieder commented on August 14, 2024

that workaround @addam did not work for us. I don't think adding Heroku is relevant as the problem seems to be linked to Spring software regardless of the running environment. We are facing the same issue in our own servers and Amazon EC2.

We are in Spring 4.x

from spring-social-facebook.

andres-morenogr avatar andres-morenogr commented on August 14, 2024

Hello @fieder, have you solved the problem yet? We're facing the same problem but we have and ElasticBeanstalk instance. Maybe there is something in the library that we could change to solve this?

from spring-social-facebook.

fieder avatar fieder commented on August 14, 2024

@andres-morenog not yet I'm afraid...please vote the original issue

from spring-social-facebook.

andres-morenogr avatar andres-morenogr commented on August 14, 2024

Thank you @fieder i will

from spring-social-facebook.

andres-morenogr avatar andres-morenogr commented on August 14, 2024

Hello @fieder we manage to do a workaround. The solution we found was changing the code in the social connect library, specifically the ConnectSupport class in the social/connect/web route and in the RedirectView class in the web/servlet/view route you'll see that they're using http to build the URL. Hope this helps.

from spring-social-facebook.

fieder avatar fieder commented on August 14, 2024

@andres-morenog thanks for sharing your workaround. I found ConnectSupport (spring-social-web-1.1.4.RELEASE) and RedirectView (spring-webmvc-4.1.6.RELEASE) but I could not found where they are wiring http instead of https? How did you implement it?

from spring-social-facebook.

andres-morenogr avatar andres-morenogr commented on August 14, 2024

@fieder You're welcome, here is the exact location of the code. Hope this helps.
workaround1
workaround2

from spring-social-facebook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.