p2-inc / keycloak-orgs

Single realm, multi-tenancy for SaaS apps
Other
367 stars 65 forks source link

[Question] New license #81

Closed henriqueof closed 1 year ago

henriqueof commented 1 year ago

So, after commit 4f52192 it is not possible to use this plug-in in any kind of hosted product. Despite initially considering dropping this incredible piece of code in my current SaaS side project, I decided to reach out and ask if you are considering any kind "special" license for people who want to use it in hosted solutions like me.

xgp commented 1 year ago

@henriqueof Thanks for the question. I think there is some confusion about how the license applies. If you are a SaaS company that is providing a product that does not offer the features of this product itself AS A SERVICE, then you can absolutely use this in your project.

For example, if you are selling shared storage as a service (like Dropbox), and you use Keycloak and this extension to manage your users and allow them to form "teams" in their organizations, then that is a permitted use case under the license.

Alternately, there are many companies that offer Keycloak-as-a-Service (e.g. Cloud-IAM and Elestio). If they were to bundle this extension in their offering that would be a violation of the license.

A good set of questions to ask is:

If the answer to those is "yes", then you can't use it without a special license.

There are many SaaS companies that are using Keycloak with this extension to provide services that have nothing to do with IAM, and the Elastic v2 license permits this. The goal of using this license is to prevent a competitor from popping up, taking the extensions, and providing Keycloak-as-a-Service in a way that is competitive with us. Elastic (the company behind the license), did this because of AWS's move to host their offering.

More information is on the blog post we wrote about the license change, but feel free to help us with language if the descriptions are confusing.

henriqueof commented 1 year ago

In that case I have to apologise for misinterpreting the new license and say that you have my total support on that decision. :) It sounds like a fair reasoning and does not affect my use case, hope I will be able to contribute back in the future as the project (hopefully) grows.