Setting Up Single Sign-On (SSO)
📢Note: This feature is now available to customers. Reach out to your Customer Success Manager to turn it on!
Single sign-on lets your team sign in to GovDocs through your own identity provider (IdP), like Microsoft Entra and Okta, using your existing company credentials. Once enabled, users whose email domain matches your configuration are routed to your IdP to sign in.
Check out the FAQs if you need >>
Setup has three stages:
- Configure your identity provider and save its metadata URL in GovDocs.
- Verify your configuration with a test sign-in.
- Enable SSO when your test passes.
Saving and testing your initial configuration does not turn SSO on.
Before you begin
You’ll need:
- The SSO Manager role in GovDocs. Contact your Customer Success Manager to arrange access.
- Administrator access to your identity provider and permission to create a SAML application.
SSO is configured separately for each company. Your company must have users with an eligible company email domain. Public email domains, such as gmail.com and outlook.com, are excluded.
Step 1: Configure your identity provider
Select your identity provider, then click Begin setup.
The page shows setup steps for your provider, with the values to enter labeled the way your provider’s admin console labels them. Follow the steps on the page, using the copy buttons for each value. For more detail, expand the section for your provider below.
Jump to: Microsoft Entra | Okta
Microsoft Entra
Create the application
- In the Microsoft Entra admin center, go to Enterprise applications → New application → Create your own application.
- Enter a name for the application and select Integrate any other application you don't find in the gallery.
- Click Create.
- Open the application’s Single sign-on section and select SAML.
Configure SAML
Under Basic SAML Configuration, click Edit. Set these fields using the corresponding values shown in GovDocs:
| Microsoft Entra field | Value |
|---|---|
| Identifier (Entity ID) | Copy Identifier (Entity ID) from GovDocs. |
| Reply URL (Assertion Consumer Service URL) | Copy Reply URL (Assertion Consumer Service URL) from GovDocs. |
| Sign on URL | Copy Sign on URL from GovDocs. |
Click Save.
The Sign on URL directs users through the GovDocs login page when they launch the application from Microsoft My Apps or use Entra’s Test single sign-on button.
Confirm the email claim
Under Attributes & Claims, confirm that emailaddress is mapped to user.mail. If it is, leave it unchanged.
Make sure the users who will sign in have an email address populated in Entra.
Assign users and copy the metadata URL
- Open Users and groups.
- Click Add user/group, select the users who need access, and click Assign. Include the person who will run the sign-in test.
- Return to Single sign-on.
- Under SAML Certificates, copy App Federation Metadata URL.
Continue with Save your configuration in GovDocs below.
Okta
Create the application
- In the Okta Admin Console, go to Applications and Resources → Applications.
- Click Create App Integration, select SAML 2.0, and click Next.
- In General Settings (Step 1), set App name to a name of your choice.
- Under App visibility, select Do not display application icon to users.
- Click Next.
Hide the SAML application because GovDocs sign-in starts from the GovDocs login page. To provide a tile on users’ Okta dashboards, create a separate Bookmark App using the optional instructions below.
Configure SAML
In Configure SAML (Step 2), set:
| Okta field | Value |
|---|---|
| Single sign-on URL | Copy Single sign-on URL from GovDocs. |
| Audience URI (SP Entity ID) | Copy Audience URI (SP Entity ID) from GovDocs. |
| Default RelayState | Leave blank. |
| Name ID format | EmailAddress |
| Application username |
Complete the remaining wizard prompts to create the application.
Add the email claim
After creating the application:
- Open Sign On → Attribute Statements.
- Click Add expression.
- Set Name to:
http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress - Set Expression to:
user.profile.email - Click Save.
Make sure the users who will sign in have an email address populated in their Okta profiles.
Assign users and copy the metadata URL
- Open Assignments and assign the people or groups who need access. Include the person who will run the sign-in test.
- Return to Sign On.
- Copy Metadata URL.
Continue with Save your configuration in GovDocs below.
Optional: Add a GovDocs tile to the Okta dashboard
- Go to Applications and Resources → Applications → Browse App Catalog.
- Search for Bookmark App and select it.
- Click Add Integration.
- Set Application label to the name you want users to see on their dashboard.
-
Set URL to:
https://elc.govdocs.com/login - Save the Bookmark App.
- Under Assignments, assign the people or groups who should see the tile on their dashboard.
Users must be assigned to both the SAML application and the Bookmark App.
Save your configuration in GovDocs
When you’ve finished the steps in your identity provider, paste its metadata URL into SAML metadata URL and click Save configuration. The metadata URL must be a publicly accessible HTTPS URL. A URL that only works inside your corporate network or VPN will not work.
Step 2: Verify with a test sign-in
Click Test Sign-In. A separate window opens for you to sign in through your identity provider. Leave the window open until the test finishes.
- If the test passes, a confirmation appears and the Enable button becomes available.
- If the test fails, review the message and seeTroubleshooting. Correct the configuration, then test again.
Step 3: Enable SSO
After your test passes, click Enable and confirm. Users with the configured email domains will now sign in through your identity provider.
Stay signed in to your current window. In a private browser window, go to the GovDocs login page and confirm that you can sign in through your identity provider. If sign-in fails, click Disable in your original window and confirm. Users with the configured domains return to GovDocs password sign-in. Users without a GovDocs password can’t sign in until SSO is enabled again.
Note: If you can’t access GovDocs to disable SSO, contact your Customer Success Manager to have it disabled.
Managing SSO
Email domains
GovDocs detects eligible email domains from your company’s existing users and displays them under Email Domains.
- Configured domains determine which users are directed to your identity provider while SSO is enabled.
- When GovDocs detects a new eligible domain, click Add to configuration to include it. If SSO is enabled, users with that domain will then use SSO.
- The domain of the email address your identity provider sends must match one of your company’s configured domains.
Signing certificate changes
GovDocs refreshes your provider’s metadata automatically but may use a cached copy for up to six hours. If your provider supports publishing multiple signing certificates, publish both the current and new certificates for at least six hours before switching to the new signing certificate. You can then remove the old certificate. If your provider cannot publish both certificates, changing certificates may temporarily interrupt sign-in.
Troubleshooting
|
What you see SSO Settings |
What to do |
|---|---|
| SSO Settings is unavailable | Contact your Customer Success Manager to confirm that your account has the SSO Manager role. |
| SSO isn’t available yet | Your company doesn’t have users with an eligible company email domain. Public email domains are excluded. Contact your Customer Success Manager if this appears incorrect. |
| The metadata URL cannot be validated or reached | Copy the application’s metadata URL from your provider’s setup page. It must use HTTPS and be publicly accessible without signing in or connecting to your corporate network or VPN. |
| Sign-in test failed: Missing email address claim | In Entra, confirm emailaddress is mapped to user.mail. In Okta, confirm the email statement uses the Name and Expression shown in the setup instructions above. Make sure the test user’s email address is populated, then test again. |
| Sign-in test failed: Email domain not allowed | Compare the email address your provider sends with Email Domains in GovDocs. Its domain must be included in the company’s configuration. Guest or external accounts may send an unexpected address. |
| Sign-in test failed: Unable to validate signing certificate | Ask your IT team to review the application’s signing configuration and confirm that its metadata contains the active signing certificate. If the certificate recently changed, see Signing certificate changes above. |
| The test window does not open | Allow popups for GovDocs, then run Test Sign-In again. |
| Waiting for the sign-in test to finish in the popup… remains on screen | Complete sign-in in the test window. If you closed that window, click Cancel, then run Test Sign-In again. |
| Your identity provider says you cannot access the application | Confirm that the user running the test is assigned to the application in your identity provider. |
| Launching from your provider’s dashboard or test button produces a RelayState error | Start from the GovDocs login page or use Test Sign-In in GovDocs. For Entra, confirm Sign on URL matches the value shown in GovDocs. For Okta dashboard access, use the Bookmark App described above. |