Repository: https://github.com/ahmedemamhatem/duo_sso_integration
This app enables seamless Cisco Duo Single Sign-On (SSO) for your Frappe or ERPNext site, providing a secure, modern, and branded authentication experience. The login page features the official Duo logo, an animated SSO button, and a responsive design. All branding is inline, so your login always looks professional and is not affected by external asset changes.
- Cisco Duo SSO login:
Users authenticate through your organization's existing Duo SSO provider. - Duo-branded experience:
Official Duo logo and color scheme on the login page. - Animated, accessible SSO button:
Modern look with smooth transitions and high accessibility. - Mobile-friendly:
Responsive design for all devices. - Configurable:
Optionally hides standard ERPNext login fields and "Forgot Password?" links for SSO-only environments. - Inline branding:
The Duo logo is embedded as SVG, ensuring reliability regardless of Duo's website changes.
- A running Frappe or ERPNext site (v13 or above recommended)
- Bench CLI access
- Cisco Duo SSO enabled for your organization
-
Get the app
cd /path/to/frappe-bench bench get-app https://github.com/ahmedemamhatem/duo_sso_integration.git -
Install the app on your site
bench --site your-site-name install-app duo_sso_integration
-
Migrate your site (if required)
bench --site your-site-name migrate
-
Duo SSO Credentials:
Open the Duo SSO Integration settings in your Frappe/ERPNext Desk and fill in your Duo SSO credentials (Client ID, Secret, API Host, etc.). -
Disable Normal Login (Optional):
In the integration settings, set Disable Normal Login to1to hide the username/password fields and force SSO-only login. -
Customize Branding (Optional):
You can optionally customize the SSO button text, logo, or colors if your organization prefers a tailored look.
-
Login Experience:
Users see a prominent “Sign in with Duo SSO” button on your login page. Clicking this button starts the Duo SSO authentication process. -
Authentication:
After successfully authenticating with Duo SSO, users are redirected back to your ERPNext site and logged in automatically. -
SSO-Only Mode:
If "Disable Normal Login" is enabled, classic ERPNext login fields and “Forgot Password?” links are hidden for a seamless SSO experience.
- Duo SSO Documentation: https://duo.com/docs/sso
- Frappe/ERPNext Docs: https://frappe.io/docs
- GitHub Repository: https://github.com/ahmedemamhatem/duo_sso_integration
This project is licensed under the MIT License.