Guides & tutorials
Guides & tutorials
Social login allows you to sign up or authenticate users with just one click and using their existing accounts. Before using it with Arengu, it's recommended to take into account the main features about how it works:
Adding social login to your forms is a simple task with Arengu — you only need to drag the social field and drop it wherever you want:
To set up this field it is mandatory to add Client ID and select the permissions (scope) the users have to grant. If no scope is specified, it will email scope.
Most of social providers have slight differences when returning claims like first name, last name, etc. In order to unify this, Arengu will return an object containing OpenID standard claims:
All retrieved data will be included inside your field ID and profile property, it will be assumed that you are using social as field ID for the following examples:
Example of received data using Google as social provider:
Example of received data using Facebook as social provider:
Example of received data in a flow:
Go to https://developers.facebook.com/apps and create an app. Go under Settings > Basic and find your App ID to use in your social login field.
On App Domains, you'll have to include all the domains where you will use your social login:
And last, remember to enable Facebook Login under the Products section and make sure Web OAuth Login is enabled:
Go to the Credentials page of your Google Cloud Console project and create an OAuth client ID:
You can find your client ID inside your credentials settings and last, make sure to add your website domain under Authorised JavaScript origins:
Arengu allows you to build all your user flows connected to your current stack, and avoids coding all the UI, complex integrations, validations or logic from scratch. Try it for free and start building faster and scaling your application needs as they grow.