Hi
I'm not sure exactly how the controllers are configured in your application, but the Connect controller expects POST requests to "/connect/facebook" to instigate "connect with Facebook" flow. ...
Type: Posts; User: michaellavelle; Keyword(s):
Hi
I'm not sure exactly how the controllers are configured in your application, but the Connect controller expects POST requests to "/connect/facebook" to instigate "connect with Facebook" flow. ...
Hi
If you want to update an existing Facebook connection in the UsersConnectionRepository, I think you'll need the access token and an expiry time for that access token. Once you have those two...
Hi
I don't believe the refresh() call is supported by the current Facebook spring social implementation due to a limitation with the way Facebook issues tokens.
I thought I'd reply with details...
Hi Craig
I've only had chance to look at the JavaConfig version of the new configuration , but it looks great! Many thanks for this - I've tried the new annotations in a number of my projects and...
Hi Domaneni
The database is an in-memory HSQLDB database, properties defined in database.properties and with dataSource and JPA entityFactory defined in applicationContext.xml. This database...
Hi
One of my projects uses a Roo-backed connection repository, and as I had JPA UserConnection entities in my project already, I thought I'd create a branch of the project which would demonstrate...
Hi
Do you have an "applicationUrl" property set on your ProviderSignInController? I can reproduce the error you get if I set an applicationUrl on ProviderSignInController which doesn't start...
This is just a hunch, but can I ask does this exception occur when their are multiple likes returned from Facebook, or is does it happen when there is only a single like?
I had a similar-looking...
Hi
I thought I would share my understanding of the ProviderSignInController flow in case this helps with your situation:
ProviderSignInController supports two primary use-cases after...
With regards to Craig's question about overriding connectView() vs. having an injectable property, my personal opinion is that I like to keep the consistency and default behaviour of the current...
Just to add to my previous comment.. while I believe adding the @PathVariable to the overridden callback method will resolve this issue, I'm not sure you need to be overriding this method at all.
...
I had a look at your code earlier and couldn't spot what was wrong, but I think I've just realised what's missing - it's the @PathVariable annotation before the providerId parameter in the method...
Hi
Taking a look at the code you've posted, it doesn't look as if you are passing in the Twitter API type to the ConnectInterceptor interface - as I understand it you need to have:
...
Hi
Thanks for posting the solution to this - the ability for the authentication success url to be configured was something I'd meant to implement in earlier versions of spring-social-security but...
Hi
I encountered this problem also - it would be great if there was a way to solve this by doing as you suggest and intercepting the connection with facebook for user2 *before* they complete the...
Hi
In terms of having an in-memory repo for development-time purposes, this was something I needed a while back so I created my own InMemoryUsersConnectionRepository implementation. It's just a...
Hi
I believe (if I understand your requirements correctly) that I may have had a similar problem when I created a spring social module for Last.Fm.
Last.Fm's Auth dance is not OAuth2, but is...
Looks like my last reply overlapped with Craig's last reply. After further reflection, I don't think an AJAX approach can't be used because response headers can't be accessed, but I think I have...
I was initially thinking that RestTemplate could be used for this call, but after some more thought I'm not sure if this would work.
If the user had authorized the application via client-side...
Instead of retrieving the access token using the "/oauth/access_token" endpoint, could you make the following call:
...
Hi
The code you posted does work if you pass in a valid accessToken and if you have registered a Facebook connection factory with the locator with a valid clientId and secret. I just ran this...
Hi
I saw this thread and thought that a test harness I wrote for UsersConnectionRepository implementations may be useful to you in testing your implementation.
I reworked the existing...
Hi
You can do this by passing a "scope" parameter with the POST submission to the ProviderSignInController or ConnectController - the form submission that happens when the user clicks the button...
Hi
If I understand your requirements correctly it sounds like the remember-me functionality of Spring Security will give you what you need. If you register PersistentTokenBasedRememberMeServices...
Hi
springsocial-showcase uses an in-memory database by default for showcasing purposes ( so that you don't need to create your own database locally before running the example). This is why when...