Results 1 to 3 of 3

Thread: Pre signup connect question

Hybrid View

  1. #1
    Join Date
    Jul 2010
    Location
    Brooklyn, NY
    Posts
    32

    Default Pre signup connect question

    I'd like to be able to grab some info about a user from the provider they're trying to sign in with before they are redirected to the signupUrl. It'd be nice to prepopulate the signup form fields with their name, email address, etc if its available form the provider.

    I thought about adding interceptors so the ProviderSignInController, simliar to that of the ConnectController. Not sure if that makes sense though.

    Curious how best to go about this.

  2. #2
    Join Date
    Aug 2004
    Location
    Melbourne, FL
    Posts
    2,794

    Default

    Matt,
    Working on this right now. Looking at exposing a ServiceProviderConnection#fetchUserProfile method that returns a normalized UserProfile object containing name, firstName, lastName, email, and username fields. This UserProfile will then be convenient exposed via ProviderSignInAttempt#getUserProfile() and can be used to pre-populate a SignupForm model. Sound ok?

    Keith
    Keith Donald
    Core Spring Development Team

  3. #3
    Join Date
    Jul 2010
    Location
    Brooklyn, NY
    Posts
    32

    Default

    Awesome. Sounds great, Keith.

Posting Permissions

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