~ren/magenta

A simple SSO protocol + authentication server

567f127 Fix tests after changing the padding option in #encode_and_sign

~ren pushed to ~ren/magentasso-rb git

6 months ago

567f127 Fix tests after changing the padding option in #encode_and_sign

~ren pushed to ~ren/magentasso-rb git

6 months ago

#Magenta

An authentication server for the MagentaSSO protocol.

Looking for the client libraries?

#Setup

Copy .env.example to .env and edit accordingly.

To run the database migrations, run alembic upgrade head.

To create an admin account, run flask shell to get an application console, then enter:

from magenta.util import create_admin_user
create_admin_user('your.email@example.com')

This will return a password, which you can use to log in. Change this password immediately.

#Testing

A bare-bones test application can be found in the magentasso-test repository.

#License

Magenta is licensed under the GNU Affero General Public License (AGPL), version 3. See LICENSE.md.

The MagentaSSO client libraries, and the test application, are licensed under the MIT license. See the LICENSE files in the individual repositories.