Social Login - Assigning Roles

The social login extension allows you to place social login buttons anywhere on your site and choose which community roles to assign to the buttons. There are two ways to show social connect on login forms: 1. You can turn on Social Connect button for default setup or 2. create multiple social login shortcodes so you can have different output on your site depending on where you want to add the buttons.

1. If the social connect button is turned on for each provider  ( Facebook, Instagram, Twitter, Linkedin etc. ), it will automatically show the social login buttons in Log in and Registration form by default. To turn on Social login button, please navigate to UM > Settings > Social Connect.

Please read the Social Login Setup to get the app details.

When a user registers, the form on overlay will use a community role based from global default role set in Ultimate Member > Settings > Users > Default New User Role that will be assigned to the user on successful registration.

2. The other way is using Social Login Shortcodes. You can put shortcode anywhere on the page or you can add a content block field in Login/Registration form where you can place  the social login shortcode. To create a Social Login Shortcode, go to Ultimate Member > Settings > Social Login> Add New

social-login-widget.png

This allows you to choose which community role will be assigned to user that will authenticate with the Social Login buttons generated from the shortcode.