The first architectural decision on a new ScriptRunner server is not which scripts to migrate but how people prove who they are when they open the Portal. With Windows-integrated authentication, domain users usually reach the Portal without a prompt. With OpenID Connect, through Entra ID or another identity provider, every sign-in runs through a browser redirect and a token. Both paths end with a user mapped to an access group, but they make very different demands on your domains, certificates and clients, and this article compares them as they work in ScriptRunner.
What Windows-Integrated Sign-In Does for You
With Windows-integrated authentication, the browser negotiates with the ScriptRunner server using the logged-on domain user’s credentials, Kerberos where possible and NTLM where not. Nobody types a password, and the ScriptRunner for VS Code extension behaves the same way: authorized users are logged in automatically. You map those identities to access groups through memberships of the Active Directory type, by group name or SID. For accounts on the ScriptRunner host itself, you use the Local group/user type.
In a single forest with domain-joined admin workstations, this is hard to beat. There is no app registration to maintain, no redirect URI to keep in sync, and no identity provider certificate to renew.
The limits come from Kerberos and NTLM, not from ScriptRunner. Both need a trust path between the user’s domain and the server. A contractor on an unmanaged laptop, an admin in an untrusted forest, or a cloud-only Entra account has nothing to negotiate with. Kerberos also cares about service principal names, which matters once the Portal sits behind a load balancer under a different host name.
Handing Sign-In to Entra ID or Another OIDC Provider
With OpenID Connect, the Portal sends users to the identity provider, so MFA, Conditional Access and sign-in logging stay where your security team already manages them. Memberships change shape accordingly. The Entra ID type resolves groups, user names, distinguished names or SIDs against your Entra home tenant, while the Claims-based type matches a claim type and value you define.
For Entra ID, registration runs through Register-SrxAzADApp from an elevated PowerShell session, and its two modes matter. With the OnlyService switch, the ScriptRunner Service gets Entra access for managing Microsoft 365 workloads, but users cannot sign in to the Portal with Entra credentials. Without the switch, you pass the Portal’s DNS name and end up with two app registrations, ScriptRunner Portal and ScriptRunner Service.
This mode needs two certificates. The SSL certificate protects the Portal connection and should come from an official certificate authority in production. The second certificate authenticates the service to its service principal and can be self-signed. Renewing the service certificate later means a Set-SrxAzureHome call plus an upload to the app registration, so put it on the calendar.
Rollout Details That Catch People Out
Every client has to follow the redirect. For the VS Code extension, users enter the URI of the Portal’s app.json file in the extension settings. For Entra ID, you also add a plain HTTP localhost entry as a redirect URI under Mobile and desktop applications in the Portal app registration.
If you run the ScriptRunner Workflow Engine, its setup lists the redirect URIs to add to the Portal application in your identity provider. For Entra ID, it also hands you the complete cmdlet. In multi-server environments, Workflow SSO relies on ScriptRunner’s internal OIDC server, which needs the same signing and encryption certificates on every node, configured with Set-SrxOidcServerCertificate. The self-signed development certificate from setup will not work there.
Matching the Sign-In Model to Where Identities Live
The choice follows your identity architecture. Windows-integrated authentication fits a trusted AD environment where every Portal user works on a domain-joined machine, and it keeps moving parts to a minimum. OIDC fits hybrid and cloud-first estates, untrusted forests, and teams that want the provider’s MFA and Conditional Access in front of a tool that triggers privileged automation. Either way, access groups, memberships, and the separation between the user who starts an action and the account it runs under stay the same.
The real cost of changing your mind later is the membership mapping, because AD group SIDs do not turn into claims on their own. Before switching, document which access groups rely on which membership types, and build the claims-based or Entra ID equivalents first.



