SSO (AEN 4.0)ΒΆ
SSO capability has been implemented in the Anaconda Enterprise Notebooks (AEN) creating a new auth provider which defer to AE-Repo for login using the auth cookie from AE-Repo for login purposes.
To enable this feature you need to deploy AEN along side with AE-Repo and modify the following config files:
In the AEN Server’s config.json located at
/opt/wakari/wakari-server/
etc/wakari/config.json
add the following :
{
EXISTING_CONFIGURATION,
"SECRET_KEY": "<repo signing secret>",
"REPO_LOGIN_URL":
"http://example_repo.com:8080/account/login?next=http://example_repo.com/"
}
and in the AEN Server’s wk-server-config.json located at
/opt/wakari/wakari-server/
etc/wakari/wk-server-config.json
modify
the following line:
{
EXISTING_CONFIGURATION,
"accounts": "wk_server.plugins.accounts.repo",
}
To activate the changes restart wakari-server
:
sudo service wakari-server restart
Single sign on is now enabled.