Thank you Craig.
I also posted my code about Customize Spring Social Connect Framework For MongoDB.
HTH
Thank you Craig.
I also posted my code about Customize Spring Social Connect Framework For MongoDB.
HTH
Yuan Ji
www.jiwhiz.com - Passion for beautiful design
Last edited by blandger; Jan 17th, 2013 at 02:05 PM. Reason: small addition
Best regards.
Honestly, I thought I had merged it already. I did merge it into my own fork, but I never sent a pull request from my fork to the main project. That has been done now, so it should be there (and will shortly be in a snapshot build). Sorry for the delay.
FWIW, this is all working splendidly for me right now. The only thing remaining to make it complete is to enable it to work alongside the simplified configuration options introduced in Spring Social 1.1.0.M1. I think I have it playing nice with the JavaConfig options. Just a bit more testing there and then I make it work with the XML configuration options. Hope to push a milestone containing this sometime next week, assuming I don't run into any surprises.
Craig Walls
Spring Social Project Lead
Thank you Craig, finally it's done.
I'm trying to create 'canvas app' using Yuan's approach and code base from his excellent blog posts and I'm curious....
1. Is socialAuthenticationFilter can handle security issues for canvas FB web-app ?
2. How properly initialize it for canvas app? Say I have 'web ur = http://site/signin' and 'canvas url = http://site/signin/facebook/'
I added XML snipped into my security.xml as from start post.
I see it is initialized but I don't see it's being called (under debug) although it's containsI hit the break point in controller's code:Code:filter.setFilterProcessesUrl("/signin/");
How properly config it and use ? Is it suitable for 'canvas' ?Code:@RequestMapping(value = "/signin/") public String signin(NativeWebRequest request, Model model) { ........
Last edited by blandger; Jan 21st, 2013 at 07:18 AM. Reason: one more update
Best regards.
Graig, Is it worth to upgrade gradle build file to latest Spring 3.2.0.RELEASE dependency, to be 'line up' with other libraries?
It compiles fine, tests don't fail, should run fine (I hope).Code:springVersion = '3.2.0.RELEASE' //'3.1.3.RELEASE' springSecurityVersion = '3.1.3.RELEASE'
Last edited by blandger; Jan 21st, 2013 at 11:28 AM. Reason: typo
Best regards.
Is anybody have good experience using SocialAuthenticationFilter for canvas FACEBOOK application ?
After tweaking parameters:
- on facebook developer app settings page (web-site URL + Canvas URL)
different setting for filter like:
- setFilterProcessesUrl(.. , filter.setSignupUrl(.. , filter.setPostLoginUrl(...
- adding internal controller + page with JS 'redirect' to FB auth url for getting 'app permissions' and redirecting back to 'web-app'
I still can't understand how that stuff can (or should) be configured for canvas app authentication + spring security.
Best regards.
As I explained in a separate thread, the proper flow for FB canvas apps to receive an access token is very different from how either ProviderSignInController or SocialAuthenticationFilter work. Although I believe it is possible to use either PSIC or SAF with canvas, it's not the correct approach. I outlined what the correct approach should be in the other thread at http://forum.springsource.org/showth...le-forthcoming.
Craig Walls
Spring Social Project Lead