Search:

Type: Posts; User: michaellavelle; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Hi I'm not sure exactly how the controllers...

    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. ...
  2. Hi If you want to update an existing Facebook...

    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...
  3. Hi I don't believe the refresh() call is...

    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...
  4. Hi Craig I've only had chance to look at the...

    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...
  5. Replies
    4
    Views
    787

    Hi Domaneni The database is an in-memory...

    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...
  6. Replies
    4
    Views
    787

    Hi One of my projects uses a Roo-backed...

    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...
  7. Hi Do you have an "applicationUrl" property...

    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...
  8. This is just a hunch, but can I ask does this...

    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...
  9. Replies
    4
    Views
    613

    Hi I thought I would share my understanding of...

    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...
  10. Replies
    17
    Views
    1,683

    With regards to Craig's question about overriding...

    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...
  11. Replies
    17
    Views
    1,683

    Just to add to my previous comment.. while I...

    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.
    ...
  12. Replies
    17
    Views
    1,683

    I had a look at your code earlier and couldn't...

    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...
  13. Hi Taking a look at the code you've posted, it...

    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:

    ...
  14. Hi Thanks for posting the solution to this -...

    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...
  15. Replies
    4
    Views
    390

    Hi I encountered this problem also - it would...

    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...
  16. Replies
    12
    Views
    840

    Hi In terms of having an in-memory repo for...

    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...
  17. Hi I believe (if I understand your...

    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...
  18. Replies
    15
    Views
    1,443

    Looks like my last reply overlapped with Craig's...

    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...
  19. Replies
    15
    Views
    1,443

    I was initially thinking that RestTemplate could...

    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...
  20. Replies
    15
    Views
    1,443

    Instead of retrieving the access token using the...

    Instead of retrieving the access token using the "/oauth/access_token" endpoint, could you make the following call:
    ...
  21. Replies
    15
    Views
    1,443

    Hi The code you posted does work if you pass...

    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...
  22. Replies
    16
    Views
    1,124

    Hi I saw this thread and thought that a test...

    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...
  23. Replies
    1
    Views
    698

    Hi You can do this by passing a "scope"...

    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...
  24. Hi If I understand your requirements correctly...

    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...
  25. Hi springsocial-showcase uses an in-memory...

    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...
Results 1 to 25 of 27
Page 1 of 2 1 2