TeC Registration in Azure AD
Before configuring SSO in TeC, TeC application must be registered in your Azure AD tenant. This is performed by your Azure AD administrator in the Azure Portal.
Create the App Registration
-
In the Azure Portal, go to .
-
Enter a recognizable name, for example: TeC SSO.
-
Select the option appropriate for your organization. For a single Azure AD tenant, select Accounts in this organizational directory only (Single tenant).
-
Under Redirect URI, select Web as the platform and enter the URI provided by your TeC administrator. This URI must match exactly what is configured in TeC.
-
Azure AD will create the application and display the Application (Client) ID and Directory (Tenant) ID. Copy and save these values: you will need them when configuring TeC.
Add a Client Secret
-
In your app registration, select .
-
Enter a description (for example: TeC SSO Secret) and choose an expiry period according to your organization's policy.
-
After the secret is created, copy the Value field. This is the Client Secret. It is only shown once and cannot be retrieved later.
The Client Secret must be stored securely and must never be exposed in client-side code, shared documents, or logs. Treat it like a password.
Configure Post Logout Redirect URI
In your app registration, go to Authentication. Under the Redirect URIs section, add the Post Logout Redirect URI provided by your TeC administrator. This is where users are redirected after logging out of TeC via SSO.
Configure Optional Claims (Required for Azure AD)
By default, Azure AD may not include the email claim in the ID token. You must explicitly enable it.
-
In your app registration, select .
-
Choose the ID token type.
-
Select email from the list and click Add. If prompted, also enable the Microsoft Graph email permission.
-
Consider enabling preferred_username. TeC uses this as a fallback if the email claim is absent.
If the email claim is not configured in Azure AD, TeC will attempt fallback claims in this order:
-
email
-
preferred_username
-
upn