Protocols

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.

Choosing

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.

Which protocol do I need?
Which protocol each kind of software uses
Your application or device isUseGuide
A web application you are writing yourselfOpenID ConnectYour first application
Software whose settings mention OpenID Connect, OIDC or OAuthOpenID ConnectYour first application
A mobile application, or a web page that runs entirely in the browserOpenID Connect, as a public clientA Go application
A program that calls an API with no person presentOAuth 2.0 client credentialsClient authentication
A television, a command-line tool or another device with no browserThe OAuth device flowDevice sign-in
Business software whose settings mention SAMLSAML 2.0SAML 2.0
SharePoint, or an older .NET application federated to ADFSWS-FederationWS-Federation
Software that asks for an LDAP server, a bind DN or a base DNLDAPLDAP
A VPN, a Wi-Fi controller or a network switchRADIUS, and EAP-TLS for certificatesRADIUS
Software that should have accounts created and removed for youSCIMSCIM provisioning
Computers already signed in to a Windows domain or a FreeIPA realmKerberosKerberos
An internal tool with no sign-in of its ownForward authentication, through your reverse proxyForward authentication
A Windows or Linux sign-in screen, or a kioskAn outpostDesktop sign-in
Each protocol

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 application

SAML 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.0

LDAP

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.

LDAP

RADIUS

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.

RADIUS

SCIM

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 provisioning

And 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.

Outposts
Testing

How each one is tested. Not everything has been checked the same way. In order of how independent the check is.

Conformance results
How each protocol is checked
Checked byWhat
The OpenID Foundation's conformance suite, every plan run in full each weekOpenID 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 changesThe 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 runSAML 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 handSAML'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 testsRefresh 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.

Not offered

What it will not do, and why. Each of these was considered and refused. The need behind it is still met another way.

Roadmap
Protocol features Signari refuses, why, and what to use instead
Not offeredWhyInstead
The password grant and the implicit flowOAuth 2.1 and the OAuth security best practice retire themThe authorization code with PKCE, and the device grant
A request_uri fetched from a URLSignari would connect to an address somebody else chosePushed authorization requests
The check_session_iframe of OpenID Connect Session ManagementBrowsers block the third-party cookies it needsBack-channel and front-channel logout
StartTLS on Signari's LDAP listenerA client can be told the connection was upgraded when it was not, and send a password in the clearLDAP over TLS from the first byte
MSCHAPv2 inside PEAPIt needs each password's NT hash, which Signari never keepsPEAP-GTC, and EAP-TLS
SAML encryption with RSA1_5 or AES-CBCBoth are open to padding-oracle attacksAES-256-GCM with RSA-OAEP
client_secret_jwt and HS256Both need Signari to keep a client secret it could readprivate_key_jwt, mutual TLS and attestation
Newer standards

Newer standards, for when you are asked for one. You need these only when an application or a partner asks for one by name.

Emerging standards