Authlib Licenses

Authlib offers two licenses, one is APGLv3+ for open source projects, one is a commercial license for closed source projects.

Open Source License

Copyright (C) 2017 Hsiaoming Yang

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see <>.

Commercial License

The content of the commercial license can be found in the repository in a file named COMMERCIAL-LICENSE. You can buy a license at:

Discuss on License

There is a discuss on the license issue. I personally don’t think AGPL is a good license for Authlib either. If you have a better understanding of licenses issues, you can offer your suggestions at:


Authlib will be separated into 3 modules in the future. The client part will be licensed under BSD, the server part will remain AGPL (or BSD with Common Clause).