Global Widget Configuration
The Global Widget feature provides users with a unified login solution, enabling access to any tenant through a single global login widget. This functionality is particularly beneficial for main admin users managing multiple tenants, as it eliminates the need to log into individual tenant-specific widgets. By simplifying access, the Global Widget enhances efficiency and user experience.
Steps to Configure the Global Widget
Step 1: Global Widget Configuration -
Log in to the UniFed portal.
From the left sidebar, navigate to the Configuration section.
Select Global Widgets to view the available configuration options,
Including:
Primary Authentication: Infisign Authentication and Social Authentication.
Note: Only primary authentication methods are supported for the Global Widget. Secondary authentication options and additional features are specific to the tenant being accessed.
Step 2: Enable Authentications for Global widget
Once you configure and enable the required authentication methods, they will be ready for use in widget creation.
For detailed instructions on configuring authentication, please refer to our documentation: Infisign Documentation.
Step 3: Retrieve Authentication Secret keys
- Navigate to the Developers section.
- Find the secret keys for all configured authentication methods.
- These secret keys are essential for generating tokens during redirection to the specified redirect page.
Step 4: Create a New Widget
- Navigate to the Widgets section.
- Click on the Create Widget button.
Step 5: Configure Widget Details
- Widget Name: Provide a unique name to identify the widget.
- Redirect: Choose the URL where users will be redirected after successful authentication.
- Logout Redirect: Specify the URL to redirect users after they log out.
- Allow Domains: List the authorized domains that are permitted to host or invoke the widget to ensure security.
Step 6: Select Authentication Methods
- Magic/OTP Authentication: Choose between Magic Link or One-Time Password (OTP) authentication options.
- Social Authentication: Select the desired social authentication method from the dropdown menu.
Step 7: Customize the login Button
- Redirect URL: Specify the URL (internal or external) where users will be directed after clicking the login button.
- Button Name: Set the name that will be displayed on the login button.
Step 8: Save and View the Widget
- Ensure all required fields are completed.
- Click Save to finalize the widget configuration.
- The newly created widget will appear in the Features section of the tenant.
Step 9: Copy and Embed the Widget code
- After creating the widget, copy the generated code snippet.
- Embed the snippet into your application’s codebase.
Step 10: Utilize the Widget and initiate the Authentication Flows
- The widget prompts users to select the tenant they are associated with.
- Once a tenant is selected, the authentication process starts using the pre-configured methods