Last modified: October 2, 2024
For enterprise customers, the Entra ID authentication provides the possibility to use a Microsoft Entra tenant as an identity provider for TestFreaks.
To enable single sign-on via Entra, you must first register a TestFreaks enterprise application.
Log in to the Microsoft Entra admin center for the relevant tenant and click Applications > App registrations in the side menu.
TestFreaks Portal
Accounts in this organizational directory only (Single tenant)
Web
and https://reviews.testfreaks.com/auth/azuread/callback
Click Register.
TestFreaks Portal Secret
730 days (24 months)
TestFreaks will use this information to configure the application and enable single sign-on. You will then get the application login link.
By default, all users within the Entra tenant have basic access to the TestFreaks portal. This can be changed by configuring application roles and requiring them to be assigned to specific users or groups.
In to the Microsoft Entra admin center, click Applications > Enterprise applications in the side menu.
Click on the TestFreaks Portal application and Manage > Properties in the left menu.
Make sure the Assignment required? is set to Yes
Following these steps will add three application roles that can be assigned to users or groups within your organization:
Role | Description |
---|---|
TestFreaks Basic Access | Access to the TestFreaks portal and all reviews and questions, including the ability to respond and export. |
TestFreaks Personal Data Access | Same access as TestFreaks Portal Users and additional access to personal information like email addresses. |
TestFreaks Manager Access | Same access as TestFreaks Privileged Users and additional access to review moderation and user and customer management. |
Click Applications > App registrations in the side menu.
Click on the TestFreaks Portal application in All applications.
Click Manage > Manifest in the application side menu.
The manifest contains an empty section "appRoles": []
. Replace this line with the following to configure the standard application roles for the TestFreaks Portal:
"appRoles": [
{
"allowedMemberTypes": [
"User"
],
"description": "Access to the TestFreaks portal and all reviews and questions, including the ability to respond and export.",
"displayName": "TestFreaks Basic Access",
"id": "SOME-UNIQUE-UUID-1",
"isEnabled": true,
"origin": "Application",
"value": "portal"
},
{
"allowedMemberTypes": [
"User"
],
"description": "Access to the TestFreaks portal and all reviews and questions, including the ability to respond and export. Access to personal information like email addresses.",
"displayName": "TestFreaks Personal Data Access",
"id": "SOME-UNIQUE-UUID-2",
"isEnabled": true,
"origin": "Application",
"value": "portal,privileged"
},
{
"allowedMemberTypes": [
"User"
],
"description": "Access to the TestFreaks portal and all reviews and questions, including the ability to respond and export. Access to personal information like email addresses. Access to review moderation and user and customer management.",
"displayName": "TestFreaks Manager Access",
"id": "SOME-UNIQUE-UUID-3",
"isEnabled": true,
"origin": "Application",
"value": "portal,privileged,manager"
}
],
Note: Every role requires a unique GUID/UUID as its
id
. Make sure to replace each placeholderSOME-UNIQUE-UUID-n
with a randomly generated GUID/UUID.
Click Save to persist the changes.
In to the Microsoft Entra admin center, click Groups > All groups in the side menu.
Security
TestFreaks Portal Basic Users
No
Assigned
Click Applications > Enterprise applications in the side menu.
Click on the TestFreaks Portal application and Users and groups in the left menu.
Click Add user/group and select the TestFreaks Portal Basic Users group and the TestFreaks Basic Access (application) role.
Click Assign to persist the changes.
Repeat steps 2-6 to create two more groups:
Group Name | Assigned Role |
---|---|
TestFreaks Portal Personal Data Users | TestFreaks Personal Data Access |
TestFreaks Portal Managers | TestFreaks Manager Access |
You can now assign users to these groups as normal to enable access to the TestFreaks Portal.
The value field in the manifest for each application role (appRole
) can be a comma separated list of role
s or client-id:role
tuples.
Space is not allowed in the value and the maximum length of the value field is 120 characters.
If you don’t specify a client-id
, the role will be used for all client configurations associated with your account.
A user will get the roles defined by the union of all assigned appRoles
.
For example, you could create two separate application roles, one with value portal
and one with manager
. They will apply to all your client configurations.
If you have multiple sites, for example client-us
, client-ca
, client-uk
, client-se
, you can create:
client-uk:portal,client-se:portal
, andclient-us:portal,client-ca:portal
.