diff --git a/tutorial/deploy_jimm_microk8s.rst b/tutorial/deploy_jimm_microk8s.rst index 60a118b..78fa665 100644 --- a/tutorial/deploy_jimm_microk8s.rst +++ b/tutorial/deploy_jimm_microk8s.rst @@ -237,8 +237,19 @@ Run the following commands: # A private and public key for macaroon based authentication with Juju controllers. juju config jimm public-key="" juju config jimm private-key="" - # A final redirect URL for login, normally set to the URL of the Juju dashboard. - juju config jimm final-redirect-url="http://test-jimm.localhost/auth/whoami" + +Optionally, if you have deployed Juju Dashboard, you can configure JIMM to enable browser flow for authentication: + +.. code:: bash + + juju config jimm juju-dashboard-location="" + +.. note:: + However, in absence of a Juju Dashboard, you can still enable OAuth browser authentication flow by setting this parameter to any valid URL. For example: + + .. code:: bash + + juju config jimm juju-dashboard-location="http://test-jimm.localhost/auth/whoami" Note that the public and private key pairs must be generated by the `go macaroon bakery repository `__. To do this briefly run the following command, ensuring you have the ``go`` tool installed: