
Single sign-on (OAuth 2.0, OpenID Connect and SAML) is convenient for users, but the protocols are detailed and easy to implement slightly wrong. A small mistake can let an attacker log in as someone else.
Typical flaws include a missing state parameter, loose redirect URI matching, using the implicit flow, skipping PKCE, trusting unsigned or wrongly validated ID tokens, and SAML signature-wrapping attacks.
state parameter.PKCE stops an intercepted authorization code from being exchanged by an attacker, and is now recommended for all clients.
An attack that moves or duplicates signed elements in a SAML assertion so the signature still validates while the attacker's identity is used.
Try Vooki Pro free for 7 days
Test your single sign-on flows before an attacker does. The trial unlocks every feature for 7 days, and scanning runs on your own machine.
Related: Subresource Integrity and third-party scripts · Turn off debug mode and verbose errors in production