Announcement Announcement Module
Collapse
No announcement yet.
Pre signup connect question Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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

    Comment


    • #3
      Awesome. Sounds great, Keith.

      Comment

      Working...
      X