User Tools

Site Tools


howto:setup-guest-forms-using-oauth

Setup registration forms using OAuth

  • Edit a registration form on Layout → Registration forms or create a new registration form
  • Scroll down to Username & password creation / Authentication and tick the Enable OAuth checkbox.
  • You can configure your own or select one of the predefined OAuth profiles
    • Don't forget to fill in all mandated values

Dynamic Walled Garden

The subscriber is redirect to the Oauth provider (Facebook, Twitter, …) to sign-in; because the subscriber at that point is still unauthenticated we need to allow the subscriber to visit those websites. Depending on the OAuth provider different domains are required. To enable all HTTP traffic enter 0.0.0.0:80, to do the same for HTTPS traffic enter 0.0.0.0:443. * is the wildcard symbol eg. *.linked.com enables all sub-domains of linked.com.

Facebook

Twitter

Google

  • accounts.google.com:443
  • accounts.youtube.com:443
  • gstatic.com:443
  • ssl.gstatic.com:443
  • lh5.googleusercontent.com:443

LinkedIn

Data Capturing

Usually an OAuth provider allows you to harvest the social profile of your subscriber for data. Typically the returned data depends on the configured scope. This data can be stored in the subscriber profile; to do this enter the returned field name and select the corresponding subscriber profile field from the drop-down. If you need more fields you can add custom input fields and use those.

Facebook

Scope set to email public_profile

  • id
  • email
  • first_name
  • last_name
  • gender
  • link
  • locale
  • name
  • timezone
  • updated_time
  • verified

Twitter

  • id
  • name
  • screen_name
  • location
  • profile_location
  • description
  • url
  • followers_count
  • friends_count
  • favourites_count
  • statuses_count
  • created_at
  • utc_offset
  • time_zone
  • verified
  • lang
  • status→id
  • status→text

Google

  • id
  • email
  • verified_email
  • name
  • given_name
  • family_name
  • link
  • picture
  • locale

LinkedIn

  • firstName
  • lastName
  • headline
  • id
  • siteStandardProfileRequest→url

Note:

howto/setup-guest-forms-using-oauth.txt · Last modified: 2015/05/26 07:14 by ewald