Single Sign-on
Setting up Single Sign-on in BetterExaminations
BetterExaminations supports Single Sign-On (SSO) integration, allowing your users to authenticate using your organisation's existing identity provider (IdP). This eliminates the need for separate login credentials and provides a seamless authentication experience for exam candidates and administrators.
How SSO works with BetterExaminations
When SSO is enabled, users accessing BetterExaminations Online are redirected to your organisation's login page. Once authenticated through your IdP, they are seamlessly signed into BetterExaminations without needing a separate password. This is commonly called "federated authentication".
BetterExaminations currently supports the following SSO protocols:
| Protocol | Description | Common Use Cases |
|---|---|---|
| SAML 2.0 | Security Assertion Markup Language - the most widely supported enterprise SSO protocol | Microsoft Entra ID, Okta, AD FS, OneLogin, Google Workspace |
| OIDC | OpenID Connect - a modern authentication layer built on OAuth 2.0 | Google, Auth0, Keycloak, custom IdP implementations |
If you are unsure which protocol your IdP supports, contact us and we will advise on the best approach for your setup.
General Integration Process
Regardless of which identity provider or protocol you use, the integration follows the same high-level process:
- Create an application - Register BetterExaminations as a new application/integration in your IdP.
- Configure endpoints - Enter the BetterExaminations service URLs (Entity ID, callback URL, etc.) provided to you during onboarding.
- Map user attributes - Configure which user fields (email, name, etc.) are sent to BetterExaminations in the authentication response.
- Export metadata/credentials - Download your IdP's metadata file or provide the relevant configuration details (issuer URL, certificate, client ID/secret for OIDC).
- Assign users - Grant the appropriate users or groups access to the BetterExaminations application in your IdP.
- Send configuration to BetterExaminations - Provide us with the metadata/credentials so we can complete the integration on our side.
- Test & validate - Verify end-to-end login works correctly.
Recommendation
We strongly recommend providing a temporary test user during setup. This allows our team to validate the integration end-to-end without disrupting your production users. The test user can be removed once setup is confirmed working.
Integration Example: Microsoft Entra ID with SAML 2.0
The following is a step-by-step walkthrough of setting up SSO with Microsoft Entra ID (formerly Azure AD) using the SAML protocol. If you use a different IdP, the concepts are the same - only the specific interface will differ.
Create a new Enterprise Application
- Sign in to the Microsoft Azure Portal (portal.azure.com).
- Navigate to Enterprise Applications → All applications.
- Click New application.
- In the Microsoft Entra Gallery, click Create your own application.
- Enter a name for the integration (e.g. BetterExaminations).
- Click Create.
Select SAML as the sign-on method
- In the application overview, click Set up single sign on.
- Select SAML as the single sign-on method.
Configure Basic SAML settings
On the "Set up Single Sign-On with SAML" page, edit the Basic SAML Configuration section with the values provided by BetterExaminations:
| Field | Value (provided by BetterExaminations) |
|---|---|
| Identifier (Entity ID) | We will provide this value during setup |
| Reply URL (Assertion Consumer Service URL) | We will provide this value during setup |
Configure Attributes & Claims
Verify the following SAML attribute mappings in the Attributes & Claimssection:
| Claim | Source Attribute |
|---|---|
| Unique User Identifier (Name ID) | user.userprincipalname |
| emailaddress http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress |
user.mail |
| givenname http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname |
user.givenname |
| surname http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname |
user.surname |
Download the Federation Metadata XML
In the SAML Certificates section, download the Federation Metadata XML file. Send this file to your BetterExaminations account contact.
Assign Users and Groups
Navigate to Users and groups in the application menu and add the users or groups that should have access to BetterExaminations Online via SSO.
Once you have sent the Federation Metadata XML file (and optionally, test user credentials) to BetterExaminations, our team will complete the configuration and notify you when SSO is ready for testing.