Six protocols from one server
Most software has already chosen how it signs people in, so Signari speaks what it asks for: OpenID Connect and OAuth 2.0 for new applications, SAML 2.0 for business software, LDAP and RADIUS for older software and networks, and SCIM to create and remove accounts. You do not run a separate server for each.
The six protocols
A drawing of six layers stacked on one dark base. Each layer is labelled with a kind of software on the left and the protocol it speaks on the right: web and mobile applications with OpenID Connect; APIs, devices and command-line tools with OAuth 2.0; business software with SAML 2.0; software that asks for a bind DN with LDAP; VPNs, Wi-Fi and network switches with RADIUS; and applications that keep their own accounts with SCIM. The base is Signari, one binary that answers all six.
Start from the software. You rarely choose the protocol yourself: the application has usually chosen already, and its settings name it. If it speaks more than one, choose OpenID Connect.
| Your application or device is | Use | Guide |
|---|---|---|
| A web application you are writing yourself | OpenID Connect | Your first application |
| Software whose settings mention OpenID Connect, OIDC or OAuth | OpenID Connect | Your first application |
| A mobile application, or a web page that runs entirely in the browser | OpenID Connect, as a public client | A Go application |
| A program that calls an API with no person present | OAuth 2.0 client credentials | Client authentication |
| A television, a command-line tool or another device with no browser | The OAuth device flow | Device sign-in |
| Business software whose settings mention SAML | SAML 2.0 | SAML 2.0 |
| SharePoint, or an older .NET application federated to ADFS | WS-Federation | WS-Federation |
| Software that asks for an LDAP server, a bind DN or a base DN | LDAP | LDAP |
| A VPN, a Wi-Fi controller or a network switch | RADIUS, and EAP-TLS for certificates | RADIUS |
| Software that should have accounts created and removed for you | SCIM | SCIM provisioning |
| Computers already signed in to a Windows domain or a FreeIPA realm | Kerberos | Kerberos |
| An internal tool with no sign-in of its own | Forward authentication, through your reverse proxy | Forward authentication |
| A Windows or Linux sign-in screen, or a kiosk | An outpost | Desktop sign-in |
What each one does here. Signari answers all of them itself, from the same database. LDAP and RADIUS listen only once you give them an address.
OpenID Connect and OAuth 2.0
Applications send people to Signari and receive signed tokens. Proof Key for Code Exchange is required of every application by default, and refresh tokens are replaced on each use. Device sign-in, token exchange, PAR, DPoP and mutual TLS are there when an application asks for them.
Your first applicationSAML 2.0
As an identity provider, Signari signs assertions for business software, and encrypts them when asked. It can also sign people in through another SAML provider, and serves WS-Federation to older SharePoint and .NET applications.
SAML 2.0LDAP
Signari answers binds and searches for software that checks passwords against a directory, and accepts a second-factor code added to the password. It speaks LDAP over TLS and refuses StartTLS. It is not a full directory.
LDAPRADIUS
VPNs, Wi-Fi controllers and switches ask Signari whether to let someone in, and Signari can answer with their group's network settings, such as a VLAN. EAP-TLS checks a device's certificate, then that the account is still active.
RADIUSSCIM
Signari creates, updates and deactivates accounts in other applications. It shows what it would change before it sends anything, and reads the result back. Another system can also send people to Signari over SCIM.
SCIM provisioningAnd where there is no sign-in page
Kerberos signs in computers already joined to a domain. Forward authentication puts an internal tool behind your reverse proxy. Outposts serve LDAP, RADIUS and forward authentication where the database cannot be reached.
OutpostsHow each one is tested. Not everything has been checked the same way. In order of how independent the check is.
| Checked by | What |
|---|---|
| The OpenID Foundation's conformance suite, every plan run in full each week | OpenID Connect sign-in; the three logout methods; FAPI 2.0 with PAR, DPoP, mutual TLS and signed requests; OID4VCI issuance and OID4VP presentation, whose plans are the suite's alphas |
| Five client libraries in Chrome, whenever the engine changes | The authorization code flow with PKCE, and single sign-on, through Go's standard library, openid-client, Authlib, Spring Security and OpenIDConnectClient |
| Another implementation, in every CI run | SAML signatures and encryption, and WS-Federation tokens, by xmlsec1; the LDAP server, by OpenLDAP's command-line tools; Kerberos, with a ticket from MIT Kerberos. No ticket from Active Directory has been tried |
| Another implementation, run by hand | SAML's artifact binding, with Shibboleth SP; RADIUS with EAP-TLS, with wpa_supplicant's eapol_test; LDAP as a source, with OpenLDAP's slapd |
| The repository's own tests | Refresh token rotation, client credentials, the device grant, CIBA, token exchange, introspection, revocation, dynamic registration and SCIM in both directions, among others |
Signari has not been certified by the OpenID Foundation. Certification is on the roadmap.
What it will not do, and why. Each of these was considered and refused. The need behind it is still met another way.
| Not offered | Why | Instead |
|---|---|---|
| The password grant and the implicit flow | OAuth 2.1 and the OAuth security best practice retire them | The authorization code with PKCE, and the device grant |
A request_uri fetched from a URL | Signari would connect to an address somebody else chose | Pushed authorization requests |
The check_session_iframe of OpenID Connect Session Management | Browsers block the third-party cookies it needs | Back-channel and front-channel logout |
| StartTLS on Signari's LDAP listener | A client can be told the connection was upgraded when it was not, and send a password in the clear | LDAP over TLS from the first byte |
| MSCHAPv2 inside PEAP | It needs each password's NT hash, which Signari never keeps | PEAP-GTC, and EAP-TLS |
| SAML encryption with RSA1_5 or AES-CBC | Both are open to padding-oracle attacks | AES-256-GCM with RSA-OAEP |
client_secret_jwt and HS256 | Both need Signari to keep a client secret it could read | private_key_jwt, mutual TLS and attestation |
Newer standards, for when you are asked for one. You need these only when an application or a partner asks for one by name.
- Backchannel authentication (CIBA)Approving on your phone a request someone else started, such as a call centre
- Verifiable credentials (OID4VCI)Issuing digital credentials into a person's wallet app
- Signing in with a wallet (OpenID4VP)Signing in by showing a credential from a wallet app
- OpenID FederationTrusting other organisations' servers through a shared authority
- User-Managed Access 2.0Letting a person share their own resources with someone else
- AuthZENAsking whether this person may do this, through a standard API
- Shared Signals and CAEPTelling applications at once when a session or an account changes