Swiftspeed Appcreator - Use Swiftspeed App Creator to make apps without coding
Print

SiberianCMS integration Plugin – Auto Login Feature Guide

Auto Login

The Auto Login feature of the Swiftspeed Siberian Integration plugin provides a seamless authentication experience between your WordPress website and Siberian CMS. This powerful integration allows users to navigate between both platforms without the friction of multiple logins, creating a unified digital experience that enhances user satisfaction and engagement.

The Auto Login functionality establishes a secure API connection between WordPress and your Siberian CMS installation, automatically authenticating users as they move between the two platforms. This eliminates redundant login processes while maintaining security standards through encrypted API communication.

Benefits of Using Auto Login

  • Seamless User Experience: Users can navigate between your WordPress site and Siberian app without interruption.
  • Reduced Friction: Eliminate the frustration of multiple login prompts, increasing user satisfaction.
  • Increased Engagement: Lower abandonment rates by removing authentication barriers.
  • Customizable Interface: Tailor the login button appearance to match your brand’s aesthetics.
  • Flexible Implementation: Use shortcodes to place login functionality exactly where needed on your site.
  • Role Synchronization: Optionally maintain consistent user roles across both platforms.
  • Automatic Authentication: Configure the system to authenticate users automatically when they visit specific pages.

Detailed Setup Guide

Step 1: Enabling Siberian Configuration

  1. Navigate to the Auto Login section in your Swiftspeed Siberian Integration dashboard.
  2. Toggle on Enable Siberian Configuration to activate the integration features.
  3. Once enabled, you’ll have access to customize all auto-login settings.

Step 2: Configure Basic Connection Settings

  1. Siberian CMS URL: Enter the complete URL of your Siberian CMS installation (e.g., https://build.swiftspeed.app/).
  2. Auto-Login Button Text: Customize the text that will appear on your login button (default is “Continue to Your App Dashboard”).
  3. Button Background Color and Button Text Color: Use the color selectors to customize the appearance of your login button to match your website’s design.
%Swiftspeed Appcreator%App Maker

Step 3: Configure API Authentication

You must first create api user in your SiberianCMS, To do this, go to your Backoffice, Click Manage > Backoffice Access> API, You should land on the page below, create your username and password

SiberianCMS Backoffice

and come back to your WordPress and enter this details

%Swiftspeed Appcreator%App Maker
  1. Notification Text: Customize the message users see while connecting to Siberian (e.g., “Connecting to your app dashboard. Please wait…”).
  2. API Username: Enter your Siberian CMS API username.
  3. API Password: Enter your Siberian CMS API password.
  4. Click Test API Connection to verify your credentials are working correctly.

Step 4: User Role Configuration

  1. Default User Role ID: Select the appropriate role from your Siberian CMS database to assign to new users.
  2. Sync Existing User Role (Optional): Toggle this option if you want to update existing Siberian user roles to match the default role when they login. Warning: Only enable this if you’re certain about changing existing user roles, as it will affect all users’ permissions in Siberian CMS.

Step 5: Implementing the Auto-Login Button

The plugin provides a shortcode to place the auto-login button anywhere on your WordPress site:

You can customize the button text parameter as needed. Place this shortcode in:

  • Posts
  • Pages
  • Widgets
  • Template files (using the do_shortcode() function)

Note: A legacy shortcode

is also supported for backward compatibility.

%Swiftspeed Appcreator%App Maker

Step 6: Configure Automatic Authentication (Optional)

  1. Toggle on Auto-Authenticate if you want users to be automatically authenticated when visiting a page containing the shortcode, without needing to click the login button.
  2. This feature is particularly useful for creating a frictionless transition between platforms.

Step 7: Non-Logged In User Configuration

When users who aren’t logged in to WordPress encounter your auto-login button, you can customize their experience:

  1. Enable Non-Logged in User Config to activate these settings.
  2. Message for Non-Logged-In Users: Customize the text displayed to users who aren’t logged in (default: “You must be logged in to access or create an app”).
  3. Login Button Text: Set the text for the WordPress login button (default: “Login”).
  4. Login Redirect Notification Text: Customize the message shown during redirection to the login page.
  5. Login Redirect URL: Specify a custom WordPress login URL, or leave empty to use the default login page.

Step 8: Data Retention Settings

  1. Toggle on Data Retention if you want to preserve all plugin settings and user data when uninstalling the plugin.
  2. This is recommended if you plan to temporarily disable the plugin or if you’re troubleshooting issues.

Step 9: Save Your Configuration

After configuring all settings, click the Save Changes button at the bottom of the page to apply your settings.

Advanced Usage Tips

Shortcode Parameters

The

shortcode accepts several parameters for customization:

  • text: Button text (e.g., text="Access My App")
  • class: Additional CSS classes for styling (e.g., class="my-custom-button")
  • redirect: Custom redirect URL after authentication (e.g., redirect="https://myapp.com/dashboard")

CSS Customization

Beyond the color pickers provided in the interface, you can further customize the appearance of your auto-login button using custom CSS. Target the .swsib-login-button class in your theme’s stylesheet or custom CSS area.

API Webhook Integration

For advanced users, the plugin supports webhook notifications upon successful logins. Configure these in the Advanced Auto Login section to trigger custom actions when users authenticate and create multiple shortcodes for each roles.

Troubleshooting Common Issues

Connection Failures

If the API connection test fails:

  1. Double-check your Siberian CMS URL for typos
  2. Verify API credentials are correct
  3. Ensure your Siberian CMS installation has API access enabled
  4. Check server firewall settings to allow connections between platforms

Button Not Displaying

If the auto-login button doesn’t appear:

  1. Verify the shortcode is correctly inserted
  2. Check if there are any JavaScript errors on the page
  3. Try placing the shortcode in a different location
  4. Clear your website cache

Authentication Errors

If users experience authentication issues:

  1. Verify user accounts exist in both systems
  2. Check role configuration settings
  3. Temporarily disable any security plugins that might interfere with the authentication process
  4. Review server logs for detailed error messages

Conclusion

The Auto Login feature of Swiftspeed Siberian Integration provides a powerful way to create a unified experience between your WordPress website and Siberian CMS application. By carefully configuring these settings, you’ll deliver a seamless authentication process that enhances user satisfaction while maintaining security across both platforms.

For additional assistance, refer to the plugin’s comprehensive documentation or contact Swiftspeed support directly.

Table of Contents