Getting StartedUpdated 2025-01-27
SSO Configuration Guide
Step-by-step guide to configure Single Sign-On (SSO) for your organization.
Single Sign-On (SSO) allows your users to log in to SupplySense 360 using their existing corporate credentials from identity providers like Microsoft Azure AD, Okta, or Google Workspace.
Benefits of SSO
- Simplified Access: Users log in with their existing company credentials
- Enhanced Security: Leverage your organization's authentication policies
- Centralized Control: Manage user access from your identity provider
- Automatic Provisioning: New users are created automatically on first login
Supported Identity Providers
SupplySense 360 supports the following identity providers via OpenID Connect (OIDC):
- Microsoft Azure AD / Entra ID
- Okta
- Google Workspace
- Any OIDC-compliant provider
Azure AD / Entra ID Setup
Step 1: Create an App Registration
- Go to the Azure Portal
- Navigate to Azure Active Directory then App registrations
- Click New registration
- Configure the app:
- Name: SupplySense 360 SSO
- Supported account types: Accounts in this organizational directory only
- Redirect URI: Select "Web" and enter your callback URL (see below)
- Click Register
Redirect URI Format: https://YOUR-DOMAIN.supplysense360.com/api/auth/sso/callback
Step 2: Configure Authentication
- In your app registration, go to Authentication
- Under Implicit grant and hybrid flows, check ID tokens
- Click Save
Step 3: Get Your Client Secret
- Go to Certificates and secrets
- Click New client secret
- Add a description (e.g., "SupplySense 360") and select an expiry period
- Click Add
- Important: Copy the secret value immediately - you will not be able to see it again!
Step 4: Find Your Configuration Values
- Client ID: Found on the app Overview page as "Application (client) ID"
- Tenant ID: Found on the Overview page as "Directory (tenant) ID"
- Issuer URL:
https://login.microsoftonline.com/YOUR-TENANT-ID/v2.0
Step 5: Configure in SupplySense 360
- Go to Admin then Customers then select your organization
- Click on SSO Configuration
- Enable SSO and fill in:
- Identity Provider: Microsoft Azure AD
- Email Domain: your-domain.com
- Issuer URL: https://login.microsoftonline.com/YOUR-TENANT-ID/v2.0
- Client ID: Your Application ID
- Client Secret: The secret you copied
- Click Test to verify the configuration
- Click Save Configuration
Okta Setup
Step 1: Create an OIDC Application
- Log in to your Okta Admin Console
- Go to Applications then Applications
- Click Create App Integration
- Select:
- Sign-in method: OIDC - OpenID Connect
- Application type: Web Application
- Click Next
Step 2: Configure the Application
- App integration name: SupplySense 360
- Sign-in redirect URI:
https://YOUR-DOMAIN.supplysense360.com/api/auth/sso/callback - Sign-out redirect URI:
https://YOUR-DOMAIN.supplysense360.com - Assignments: Select appropriate user groups
- Click Save
Step 3: Get Your Configuration Values
After creating the app, you will see:
- Client ID: Displayed on the app General tab
- Client Secret: Click "Generate new secret" if needed
- Okta Domain: Your Okta URL (e.g., your-company.okta.com)
Step 4: Configure in SupplySense 360
- Go to Admin then Customers then select your organization
- Click on SSO Configuration
- Enable SSO and fill in:
- Identity Provider: Okta
- Email Domain: your-domain.com
- Issuer URL: https://your-company.okta.com
- Client ID: Your Okta Client ID
- Client Secret: Your Okta Client Secret
- Click Test to verify
- Click Save Configuration
Google Workspace Setup
Step 1: Create OAuth Credentials
- Go to the Google Cloud Console
- Select or create a project
- Go to APIs and Services then Credentials
- Click Create Credentials then OAuth client ID
- Configure:
- Application type: Web application
- Name: SupplySense 360
- Authorized redirect URIs:
https://YOUR-DOMAIN.supplysense360.com/api/auth/sso/callback
- Click Create
Step 2: Configure OAuth Consent Screen
- Go to OAuth consent screen
- Select Internal (for Google Workspace users only)
- Fill in the required information
- Add scopes: email, profile, openid
- Save
Step 3: Configure in SupplySense 360
- Go to Admin then Customers then select your organization
- Click on SSO Configuration
- Enable SSO and fill in:
- Identity Provider: Google Workspace
- Email Domain: your-domain.com
- Client ID: Your Google OAuth Client ID
- Client Secret: Your Google OAuth Client Secret
- Click Save Configuration
Generic OIDC Provider Setup
For other identity providers that support OpenID Connect:
Requirements
Your identity provider must:
- Support OpenID Connect (OIDC)
- Provide a well-known configuration endpoint at
/.well-known/openid-configuration - Support the authorization code flow with PKCE
Configuration Values Needed
- Issuer URL: The base URL of your identity provider
- Client ID: The application/client identifier
- Client Secret: The client secret for authentication
- Redirect URI: Configure this in your IdP:
https://YOUR-DOMAIN.supplysense360.com/api/auth/sso/callback
Optional Advanced Settings
For providers that do not follow standard OIDC conventions, you may need to specify:
- Authorization URL: The OAuth authorization endpoint
- Token URL: The token exchange endpoint
- UserInfo URL: The user information endpoint
Troubleshooting
Configuration validation failed
- Verify your Issuer URL is correct and accessible
- Ensure the /.well-known/openid-configuration endpoint returns valid JSON
- Check that your identity provider is not blocking requests from SupplySense 360
SSO login failed
- Verify the Client ID and Client Secret are correct
- Ensure the redirect URI is configured correctly in your identity provider
- Check that the user email domain matches the configured SSO domain
User not assigned to application
- In your identity provider, ensure users or groups are assigned to the application
- For Azure AD, check that the user is in the correct directory
- For Okta, verify the user is in an assigned group
Need Help?
Contact our support team for assistance with SSO configuration.