Single Sign on (SSO) / Social login

Single sign on (SSO) or social logins leverage the OAuth framework. Many platforms provide the ability to access the identity of their users that can be used to offer access to your platform.

Since Pathfix let's you connect and access data to providers, you can now add SSO (social login) to your existing identity module.

You simply select the providers you would like to offer the logins for and use the code generated. This will instantly enable the SSO on your login page - all without you writing any additional code.

Important Note: If you are building on Bubble.io's no-code platform, refer this documentation instead Single Sign-on (SSO) Login

Generate SSO code

  • Login to your Pathfix account here
  • Select your application
  • Click on Extensions and select SSO (Single Sign On)

Image: Extensions
Image: Extensions

  • Pick the identity providers you would like to offer

Image: Provider SSO
Image: Provider SSO

  • Enter the Client ID and Client Secret received from the selected service provider . (Note: some providers also require a Tenant Id, you will see the option to enter it here if required)

Image: Setup
Image: Setup

  • Once you have completed the above step for each service provider you wish to add (selected providers will be marked with a Green Check-mark)
  • Click on Generate Code

Image: Generate code
Image: Generate code

  • Edit the text for Button prefix
  • Enter the Callback for Logged in and Logged out where you would like Pathfix to send the login information
  • Enter a Hello text (e.g. Welcome)
    • This is how the user will be welcomed on your page
    • The text is followed by the First Name, Last Name of the user

Document image

  • Enter the code received into your existing login module (in the <div> where you want the social login buttons to show)
  • The social login buttons will immediately show on your login section

Image: Final Render
Image: Final Render

Where will the login information be saved?

Pathfix does not save the login information. While configuring your SSO module, you are asked for the Callback URL. All information received will be sent to your callback URL.

This means, all login management and access is handled at your end either in your own login module or the access management provided by the service provider (e.g. Azure AD)

Managing Login

Since all the login data is sent to your callback URL, login access and management is done in your access management module.

Additionally, since some identity providers offer the ability to manage users, you can manage this directly with them.

This is especially important when it comes to Enterprise level user management such as Microsoft Azure Active Directory. AD allows you to manage user access across the enterprise.

Looking for setup help? Reach out to us for help at any time at support@pathfix.com

Updated 25 Jan 2021
Did this page help?