Single Sign On
==============

Single Sign On (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",
    }

and you are done.
