Results 1 to 4 of 4

Thread: How to connect facebook and local account after sign-up?

  1. #1

    Default How to connect facebook and local account after sign-up?

    Hey,

    I have a problem with connecting accounts.

    Usually having a controller method mapped to /signup and then calling ProviderSignInUtils.handlePostSignUp() in the end works but I have a very complex signup process with a few redirections.
    In the end I want the same and that is to save the userconnection as easily as above, so the question is, is there a way to achieve that?
    My last controller in the chain is not a very new one, it's instantiated in an xml and implementing the Controller interface.

    Thank you for your help!

    b

  2. #2

    Default

    So at some point the session was deleted but if it's not you have to wrap the HttpServletRequest to make it edible for the ProviderSignInUtils:

    ProviderSignInUtils.handlePostSignUp("myNewUserID" , new ServletRequestAttributes(request));

    Is there a way to close the thread?

    b

  3. #3
    Join Date
    Aug 2004
    Posts
    1,099

    Default

    I was reading your original post, wondering what kind of steps your elaborate signin process takes that results in the signin attempt no longer being in the session. I was just about to ask if you could shed more light on what's going on when I saw your 2nd post. Sounds like you've sorted it out, no?
    Craig Walls
    Spring Social Project Lead

  4. #4

    Default

    Yes, everything works as expected. We recently migrated from Spring 2.0(!) to 3.1, and mixing old code and Spring Social is not always straightforward, however looking into the source helps

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •