Prerequisites
- Administrator access to your Okta organization
- SnackBase installed and running
Step 1: Create an App Integration in Okta
- Log in to your Okta Admin Console
- Go to Applications > Applications
- Click Create App Integration
- Select SAML 2.0 and click Next
Step 2: General Settings
- App name: Enter “SnackBase” (or your preferred name)
- App logo: (Optional) Upload a logo
- Click Next
Step 3: Configure SAML
- Single Sign On URL (ACS URL): Enter your SnackBase ACS URL
- Format:
https://<your-domain>/api/v1/auth/saml/acs
- Format:
- Audience URI (SP Entity ID): Enter a unique identifier for SnackBase
- Format:
https://<your-domain>(orsnackbase-app) - Note: This value must match the
sp_entity_idin your SnackBase configuration
- Format:
- Name ID format: Select
EmailAddress - Application username: Select
Email - Update application username on: Create and update
Step 4: Attribute Statements (Optional but Recommended)
Add the following attribute statements to map user details:
Click Next and then Finish.
Step 5: Configure SnackBase
- In Okta, go to the Sign On tab of your new application
- Scroll down to SAML Signing Certificates
- Locate the active certificate and click View SAML setup instructions
- In SnackBase, create a new SAML provider configuration with the following values:
Testing
- Save your configuration in SnackBase
- Attempt to sign in via the SAML SSO button
Troubleshooting
Okta certificates rotate periodically. Make sure to update the certificate in SnackBase after rotation.
- SAML response validation failed: Verify the
sp_entity_idmatches exactly between Okta and SnackBase - User not found: Check that the application username format matches the user email in Okta
- Certificate expired: Okta certificates expire - update to the new certificate in SnackBase