Skip to main content

Prerequisites

  • A compatible Ruoom Core 1.x environment on Python 3.10 or newer and Django 5.2.
  • The licensed single_sign_on_plugin-1.0.0-py3-none-any.whl artifact.
  • For Google OAuth: a Google OAuth client and an exact callback URL for the deployed domain.

Install

The wheel installs its pinned social-auth-app-django dependency. Enable the plugin in .env:
Then run:
Restart the application. Core installs the plugin’s middleware and mounts its URLs at /sso/ from metadata.

Google OAuth integration

The consuming project must add social_django to Django’s applications, include its OAuth URLs, add social_core.backends.google.GoogleOAuth2 to the authentication backends, and configure the Google client ID, client secret, and callback URL. Use this pipeline order:

Core settings

  • SSO_TEMP_BUSINESS_ID: temporary business used during OAuth onboarding.
  • SSO_TOKEN_TTL_SECONDS: one-time-token lifetime; default 3600.
  • SSO_DEFAULT_REDIRECT_URL, SSO_STAFF_REDIRECT_URL, SSO_CUSTOMER_REDIRECT_URL, SSO_STANDALONE_REDIRECT_URL: role-specific destinations.
  • SSO_OAUTH_PATH_KEYWORDS: paths the middleware treats as OAuth/SSO traffic.
Keep secrets and environment-specific callback URLs in the deployment, not in the plugin package.