Comments (8)
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.
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.
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.
@andres-morenog not yet I'm afraid...please vote the original issue
from spring-social-facebook.
Thank you @fieder i will
from spring-social-facebook.
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.
@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.
@fieder You're welcome, here is the exact location of the code. Hope this helps.
from spring-social-facebook.
Related Issues (20)
- SocialContextOperations: return user picture in getAllMutualFriends response
- Offset is ignored
- Expected 3.0.0 Release HOT 4
- Missing encoding payload for Facebook
- Getting org.springframework.social.ExpiredAuthorizationException 1 min after login
- Add getTestUsers endpoint to TestUserOperations
- Is this a dead project? No Release for long time? HOT 8
- Upgrade to Graph API 2.10? HOT 2
- Configuration processor is not configured HOT 3
- End of support of Facebook Api v2.5 on 12 April 2018 HOT 8
- food_styles should be List<String> and not String from graph version v2.6
- Post video content to page
- Insufficient permission - Unable to post to Facebook (similar response from linkedin api too)
- Not able to fetch accessToken. HOT 10
- API 2.9 disable in a few days. No release working with 2.10
- Facebook login exception after API 2.9 is disabled HOT 3
- Spring Social died on JULY 03, 2018
- Facebook login exception starting November 2020 HOT 1
- Cannot run build gradle eclipse due to Unauthorized
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-social-facebook.