SimpleSAMLphp vs SuperTokens
A side-by-side comparison of two self-hosted identity & sso options — licensing, setup difficulty, resource needs, and what each one replaces.
Not the right match-up?
SimpleSAMLphp
PHP implementation of SAML and identity federation
VS
SuperTokens
Open-source user authentication you can self-host
| Feature | SimpleSAMLphp | SuperTokens |
|---|---|---|
| Category | Identity & SSO | Identity & SSO |
| License | LGPL-2.1 | Apache-2.0 |
| Language | PHP | Java |
| Setup difficulty | Medium | Medium |
| Min. RAM | 256 MB | 512 MB |
| Deployment | bare-metal, source, docker | docker, binary |
| GitHub stars | ★ 1,139 | ★ 15,250 |
| First released | 2007 | 2020 |
| Replaces | Okta, PingFederate | Auth0, Firebase Auth |
Why pick each one
Frequently asked questions
Is SimpleSAMLphp or SuperTokens better?
Neither is universally better. SuperTokens has the larger community; both share a medium setup difficulty, so the decision comes down to features and licensing.
Are SimpleSAMLphp and SuperTokens free and open-source?
Yes. SimpleSAMLphp is licensed under LGPL-2.1 and SuperTokens under Apache-2.0. Both can be self-hosted at no software cost.
Can I run SimpleSAMLphp and SuperTokens with Docker?
SimpleSAMLphp: yes. SuperTokens: yes.