auth_server is a node application acting as an authentication and authorization provider. It enables an organization to easily handle authorizations and users credentials in one place, for many web applications. It uses mongodb as DB.
This project is alpha software, it might not be ready for production use yet.
auth_server is developed together with:
- oauth2_client_node, a connect middleware featuring an OAuth2 client.
- oauth2_server_node, a connect middleware featuring an OAuth2 server bases.
Make sure libbsd-dev and gettext (xgettext and msgfmt) are installed on your system, then:
make install make update_js_templates
Run the tests
Make sure nodetk/bins is in your PATH environment variable and NODE_PATH environment variable includes node/lib directory. For more info on this, please have a look at the nodetk README file. Then:
When updating the templates, they need to be "repackaged" for the web application. This can be done doing:
or, to skip the i18n process:
Load some testing data in DB
This command will load some testing data in the DB:
Running the server
Tweak the config.js file to fit your needs, then:
oauth2_server_node uses many other projects, including:
- connect-form using node-formidable
- nodetk, also using Yabble
- rest-mongo, also using node-mongodb-native
All dependencies are included in repository or packaged via git submodules, except:
- node (v3.0)
- xgettext and msgfmt (Debian package gettext)
Projects and organizations using auth_server
A wiki page lists the projects and organizations using auth_server. Don't hesitate to edit it.
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 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 http://www.fsf.org/licensing/licenses/agpl-3.0.html.