supertokens / supertokens-core
- воскресенье, 20 декабря 2020 г. в 00:23:51
Java
Open source alternative to Auth0 / Firebase Auth / AWS Cognito
If you like our project, please
SuperTokens is an open core alternative to proprietary login providers like Auth0 or AWS Cognito. We are different because we offer:
Authentication directly affects UX, dev experience and security of any app. We believe that current solutions are unable to optimise for all three "pillars", leading to a large number of applications hand rolling their own auth. This not only leads to security issues, but is also a massive time drain.
We want to change that - we believe the only way is to provide a solution that has the right level of abstraction, gives you maximum control, is secure, and is simple to use - just like if you build it yourself, from scratch (minus the time to learn, build and maintain).
We also believe in the principle of least vendor lockin. Your having full control of your user's data means that you can switch away from SuperTokens without forcing your existing users to logout, reset their passwords or in the worst case, sign up again.
The docs can be seen on our website.
There is more information about SuperTokens on the GitHub wiki section.
For more information, please visit our GitHub wiki section.
Please find a detailed comparison chart on our website
Please see our wiki for instructions.
If you think this is a project you could use in the future, please
Please see the CONTRIBUTING.md file for instructions.
Over the last few months, we have built out session management for SuperTokens. During this period, we have made our fair share of mistakes:
Our first version was architected such that it tightly coupled the backend and database layer. So we had one
npm
library for NodeJS with MySQL, and another one for NodeJS with MongoDB etc. When adding support for a new
backend framework, majority of the logic and tests needed to be rewritten. It became clear that we needed to add a
service in the middle. We do realise that adding this service means it's harder to get started and that there is
an extra point of failure, however from the perspective of supporting each tech stack, this decision makes sense, since the failure problem can be addressed through easy to implement technical means.
Until August, 2020, our license was not truly open source. This was done as an experiment to get feedback on the importance of software license for the startup community. Since then, it's become very clear that we must use a standard open source license, so we chose Apache 2.0
We used to have a notion of a license key that was required to use the community version. This license key was issued by us, and would never expire. Some parts of the code still refer to that, however, it's only for backwards compatibility. For all intents and purposes, a license key doesn't exist for this version, which means anyone can build from source, and use SuperTokens for free, forever.
© 2020 SuperTokens Inc and its contributors. All rights reserved.
Licensed under the Apache 2.0 license.