Overview
The Solutions Team in the OIT Security Office, which handles Identity and Access Management, registers and manages Microsoft Entra (Azure AD) application registrations for University of Idaho single sign-on (SSO). This article lists the information we need from a developer to create a new app registration, and how to submit a request. It is written for both human developers and AI agents that may be helping assemble the request.
Once created, the app registration and its client secret are handed off to you in a 1Password item. The registration is managed in Terraform, so future changes (new redirect URIs, group assignments, etc.) are made through the Solutions Team rather than the portal directly.
How it works
Each SSO app is a Microsoft Entra application registration (client ID) paired with a service principal. Users sign in with their University of Idaho account, and Entra issues a token that your application validates. Two SSO protocols are supported:
- OpenID Connect (OIDC) — the recommended default for web and API applications. Uses the authorization code flow.
- SAML 2.0 — for applications that only support SAML (many vendor products).
OIDC
For OIDC, provide the redirect callback URL(s) for each environment — it is fine to list more than one redirect URI per environment (for example, both the production host and a staging host). The token endpoint and discovery document are derived from the tenant, so you do not need to supply them. New OIDC apps default to the openid, profile, and email scopes; these are pre-approved and do not require admin consent, which saves time on the consent approval step.
OIDC configuration details
| Setting | Value |
| Protocol | OIDC (authorization code flow) |
| Token endpoint | https://login.microsoftonline.com/{tenant_id}/v2.0/token |
| Authorization endpoint | https://login.microsoftonline.com/{tenant_id}/v2.0/authorize |
| Scopes | openid profile email |
| Redirect URI(s) | One or more per environment, e.g. https://app.uidaho.edu/callback. Multiple URIs per environment are allowed. |
Single-page application (SPA) note: SPA applications do not require a client secret, which is a good option when no secrets should be managed on the server. The trade-off is that SPAs have a limited set of scope options (delegated user scopes only, no application/client-credential scopes). If you are unsure, default to the authorization code flow with a client secret.
SAML
For SAML, provide the Assertion Consumer Service (ACS) / redirect URL, the SAML entity ID (identifier URI), and, if available, your SAML metadata URL. Many vendor products publish a metadata URL that we can use to configure the app automatically.
SAML configuration details
| Setting | What to provide |
| ACS / redirect URL | Where Entra posts the SAML response, e.g. https://app.uidaho.edu/saml/sso |
| Entity ID (identifier URI) | Your SAML entity ID, often the metadata URL or a stable identifier |
| Metadata URL | Optional, but preferred if your product exposes one |
| Logout URL | Optional single-logout endpoint |
Claims and attributes
Tokens issued by Entra include a set of claims (attributes) about the signed-in user. The standard claims available to most apps are listed below. For a fuller internal reference on the attributes synced from Banner (and other sources) into Entra, see What Active Directory extension attributes are synced from Banner?(opens in a new tab).
Common token claims and attributes
| Claim | Contains |
oid | The user’s Entra object ID (unique and stable). |
upn | User principal name, e.g. jdoe@uidaho.edu. |
email / preferred_username | The user’s email address / sign-in name. |
given_name / family_name | First and last name. |
Employee ID | The user’s Vandal ID. |
If you need additional or custom claims, mention it in your request and we can add them.
Scopes and consent
Scopes (API permissions) define what an app can access. The standard delegated scopes we apply are openid, profile, and email, which require no admin consent. Scopes can also grant access to Microsoft 365 resources — for example, a user’s mailboxes (Exchange), OneDrive files, SharePoint, Teams, or Calendar — in addition to Microsoft Graph identity data. If your app needs these or any other Microsoft Graph / API permissions, tell us which ones and whether they are delegated (acting as the user) or application (acting on its own).
Some permissions require admin consent before users can sign in. Until an administrator approves them, affected users see an “Approval required” message at sign-in. For what that looks like and why it appears, see Why does a Microsoft 365 application display “Approval required”?(opens in a new tab). If your app requires admin consent, flag it in your request so we can plan for the approval step.
Information to provide
When submitting a request, include the following. Mark anything you do not have as N/A rather than leaving it blank.
Required information for a new Entra app request
| Field | Required | Notes |
| App / product name | Yes | The name shown in the SSO list. If multiple environments share one app, use a single base name. |
| Protocol | Yes | OIDC or SAML. |
| Display / product name | Yes | Shown to users at sign-in. |
| Redirect URI(s) | Yes | One per environment. Exact scheme, host, and path. See Local development for the local URL. |
| Post-logout redirect URL | No | Single URL only — Entra supports one. Usually the production home page. |
| SAML entity ID | SAML only | Your identifier URI / entity ID. |
| SAML metadata URL | SAML only | Provide if your product exposes one. |
| Client secret needed | No | Yes for server-side OIDC (authorization code flow). We generate and store it. |
| Groups for access | No | Which groups should be able to sign in, or “open to all.” See Groups and access. |
| Logo / branding | No | Optional square logo. We can source it if you do not have one. |
| Environments / deployment dates | Helpful | e.g. DEVL Oct 26, TEST Nov 2, PROD Nov 9. We prefer the environment names PROD, TEST, and DEVL — use those labels so requests and app names stay consistent. |
| Requestor name and email | Yes | Who to hand off credentials to. |
Local development
To test SSO on your own machine before deployment, include a local redirect URI. The URL must use http (not https) and match the port your local app listens on. Common defaults:
- React + Vite:
http://localhost:5173/callback
- Generic web app:
http://localhost:3000/callback
- FastAPI / custom:
http://localhost:{port}/callback
Confirm the exact port and callback path your app uses so the redirect URI matches precisely.
Groups and access
By default we can leave sign-in open to all users. To restrict access, name one or more Microsoft Entra security groups, and we will assign the app so only members of those groups can sign in. If you do not yet have a group, ask us to create one and tell us who should be the group owner(s) and member(s).
How to request
Submit the request through the OIT Service Desk(opens in a new tab) or to the Solutions Team directly. Include the fields in Information to provide. After creation, we share the client ID, client secret, and tenant ID in a 1Password item.
Example request
The following is a complete example you can adapt:
Code block:
Product name: Schedule Planner
Protocol: OIDC
Display name: Schedule Planner
Redirect URIs:
Production: https://scheduler.uidaho.edu/callback
Local: http://localhost:5173/callback
Post-logout URL: https://scheduler.uidaho.edu/
Client secret needed: Yes
Groups for access: Open to all for now
Logo: N/A
Environments: DEVL Oct 26, TEST Nov 2, PROD Nov 9
Requestor: Joe Vandal <jvandal@uidaho.edu>