Social Logins

Learn how to set up social logins for your Unidy ID

In todayโ€™s digital landscape, signing up for various websites has become inevitable, whether for accessing e-commerce platforms or social media networks. Social logins provide a seamless solution to the cumbersome task of creating and managing multiple passwords, allowing users to authenticate using their existing social media accounts. Beyond convenience and faster registration, social logins enhance the user experience by enabling personalized content and interactions. Additionally, businesses can leverage the data collected through social logins to refine their marketing and advertising strategies. As a result, social logins have become a crucial component of online sign-up and registration processes.

To enable social login functionality in an Unidy instance, tenants must follow a series of steps to integrate the desired social login provider. While the exact steps may vary depending on the provider, the core process remains consistent. This involves creating an application on the provider's developer platform, obtaining a client ID and secret key, configuring the redirect URL, and inputting these credentials into Unidy's environment variables.

Facebook

How to set up the Facebook login

1. Go to Facebook developer page and log in with your facebook account.

2. Click on Create App on the upper right.

3. Type in the App name and a App contact email.

Notion image

4. In the next step choose Authenticate and request data from users with Facebook Login. Afterwards click Next.

Notion image

5. Add your business portfolio and finalize the app creation

Notion image

6. Choose the app from the list, go to the App settings โ†’ Basic. Here you can find App Id and App Secret for your Unidy instance setup. Fill out all the necessary fields as can be seen in the pictures below.

Notion image
Notion image

7. Go to Facebook Login for Business โ†’ Settings โ†’ Client OAuth settings and fill out Valid OAuth redirect URIs field to whitelist your URIs as can be seen in the pictures below. Donโ€™t forget to adapt the URLs to match your Unidy or custom domain.

Notion image
โ—
Please also click on App mode -> Live on top of the page
Notion image

8. Navigate to your Unidy instance and go to Admin โ†’ Settings โ†’ Logins โ†’ Social Login Configuration โ†’ Facebook. Enter your App ID in the Client ID field and your App Secret in the Secret field. You can also customize the button width and position as needed. Finally, ensure that Facebook Login is enabled by selecting the Enabled checkbox. Donโ€™t forget to click on Save button below to save your changes.

Notion image

Google

How to set up the Google login

1. Log in into your Google account.

2. Go to the Google Cloud Platform https://console.cloud.google.com/ and click on the project select in the top left corner.

2. Click New project.

3. Fill in the Project name and Location and click Create.

4. Choose created project from your project list.

5. Choose the OAuth consent screen from the menu.

6. Begin by selecting Get started.

7. Fill all the fields with necessary information and click Finish when you are done.

โ—

Choose External for Audience type

8. Click Create OAuth client in your created OAuth App.

9. Choose Web application in the Application type field select and add your OAuth client name which will be shown to the users. Click Create when you finished.

10. Add Redirect URIs for your OAuth App and click Save.

โ—
Redirect URI usually looks like this:ย https://brand.unidy.de/users/auth/google_oauth2/callback. For a Multibrand just add multiple URLs. Donโ€™t forget to adapt the URLs to match your Unidy or custom domain.
Notion image

11. Navigate to your Unidy instance and go to Admin โ†’ Settings โ†’ Logins โ†’ Social Login Configuration โ†’ Google. Enter your Client ID and your Client Secret from Google Cloud. These can be found in the OAuth settings in the previous step. You can also customize the button width and position as needed. Finally, ensure that Google Login is enabled by selecting the Enabled checkbox. Donโ€™t forget to click on Save button below to save your changes.

Notion image

Apple

How to set up the Apple login
โ—
To set up Apple login an Apple developer account is required. To configure Apple login please follow this guide.

Required information from Unidy

Domain:

Return URL:

ย 

Required information from Apple Developer Account

Navigate to your Unidy instance and go to Admin โ†’ Settings โ†’ Logins โ†’ Social Login Configuration โ†’ Apple ID and fill in the following fields. Donโ€™t forget to click on Save button below to save your changes.

  • Private Key
  • Team-ID (same as App ID)
  • Key-ID
  • Client-ID = Team-ID (same as Services ID)
Notion image
โ—
Apple has strict requirements on the button design and the button text: https://appleid.apple.com/signinwithapple/button. Textual changes can be made by your CSM manager at Unidy.

LinkedIn

โ„น๏ธ

Coming soon. Please contact your CRM at Unidy in case of any questions.

ย 
Did this answer your question?
๐Ÿ˜ž
๐Ÿ˜
๐Ÿคฉ