Configuring single sign-onΒΆ
AEN’s single sign-on (SSO) capability creates a new authentication provider that defers to your Anaconda Repository for login and authentication cookies.
To enable SSO:
Deploy AEN and Repository on the same machine.
In the
/opt/wakari/wakari-server/etc/wakari/config.jsonfile, add:{ EXISTING_CONFIGURATION, "SECRET_KEY": "<repo signing secret>", "REPO_LOGIN_URL": "http://example_repo.com:8080/account/login?next=http://example_repo.com/" }
Copy the
SECRET_KEYfrom the Repository configuration file.In the
/opt/wakari/wakari-server/etc/wakari/wk_server_config.jsonfile, modify:{ EXISTING_CONFIGURATION, "accounts": "wk_server.plugins.accounts.repo", }
SSO is enabled.