From 93ffb7c3e8c369a1ee7d5f8da08c92ee478f5ea4 Mon Sep 17 00:00:00 2001 From: Ward Vandewege Date: Thu, 23 Oct 2014 15:59:23 -0400 Subject: [PATCH] First set of improvements: * Suggest skipping SSO server installation for now, until we upgrade that codebase * Be more explicit about the desired values for arvados_login_base and arvados_v1_base in the workbench installation instructions. refs #4186 --- doc/_includes/_skip_sso_server_install.liquid | 6 ++++++ .../install-api-server.html.textile.liquid | 15 ++++++++++++++- doc/install/install-sso.html.textile.liquid | 2 ++ .../install-workbench-app.html.textile.liquid | 9 ++++++++- 4 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 doc/_includes/_skip_sso_server_install.liquid diff --git a/doc/_includes/_skip_sso_server_install.liquid b/doc/_includes/_skip_sso_server_install.liquid new file mode 100644 index 0000000000..a5c1511f72 --- /dev/null +++ b/doc/_includes/_skip_sso_server_install.liquid @@ -0,0 +1,6 @@ +
+ +

Note!

+

The SSO server codebase currently uses OpenID 2.0 to talk to Google's authentication service. Google has deprecated that protocol. This means that new clients will not be allowed to talk to Google's authentication services anymore over OpenID 2.0, and they will phase out the use of OpenID 2.0 completely in the coming monts. We are working on upgrading the SSO server codebase to a newer protocol. That work should be complete by the end of November 2014. In the mean time, anyone is free to use the existing Curoverse SSO server for any local Arvados installation. Instructions to do so are provided on the "API server":install-api-server.html page.

+

Recommendation: skip this step

+
diff --git a/doc/install/install-api-server.html.textile.liquid b/doc/install/install-api-server.html.textile.liquid index 3b398356d3..ad991de072 100644 --- a/doc/install/install-api-server.html.textile.liquid +++ b/doc/install/install-api-server.html.textile.liquid @@ -124,7 +124,20 @@ Set up omniauth:
~/arvados/services/api$ cp -i config/initializers/omniauth.rb.example config/initializers/omniauth.rb
 
-Edit @config/initializers/omniauth.rb@. Set @APP_SECRET@ to the value of @app_secret@ from "installing the single sign on server":install-sso.html . +Edit @config/initializers/omniauth.rb@, and tell your api server to use the Curoverse SSO server for authentication: + + +
APP_ID = 'local_docker_installation'
+APP_SECRET = 'yohbai4eecohshoo1Yoot7tea9zoca9Eiz3Tajahweo9eePaeshaegh9meiye2ph'
+CUSTOM_PROVIDER_URL = 'https://auth.curoverse.com'
+
+ + +
+ +

Note!

+

You can also run your own SSO server. However, the SSO server codebase currently uses OpenID 2.0 to talk to Google's authentication service. Google has deprecated that protocol. This means that new clients will not be allowed to talk to Google's authentication services anymore over OpenID 2.0, and they will phase out the use of OpenID 2.0 completely in the coming monts. We are working on upgrading the SSO server codebase to a newer protocol. That work should be complete by the end of November 2014. In the mean time, anyone is free to use the existing Curoverse SSO server for any local Arvados installation.

+
You can now run the development server: diff --git a/doc/install/install-sso.html.textile.liquid b/doc/install/install-sso.html.textile.liquid index 2f2ba5151b..cac720bfe0 100644 --- a/doc/install/install-sso.html.textile.liquid +++ b/doc/install/install-sso.html.textile.liquid @@ -4,6 +4,8 @@ navsection: installguide title: Install Single Sign On (SSO) server ... +{% include 'skip_sso_server_install' %} +
~$ cd $HOME # (or wherever you want to install)
 ~$ git clone https://github.com/curoverse/sso-devise-omniauth-provider.git
diff --git a/doc/install/install-workbench-app.html.textile.liquid b/doc/install/install-workbench-app.html.textile.liquid
index 055ef47892..ea9e73cfbc 100644
--- a/doc/install/install-workbench-app.html.textile.liquid
+++ b/doc/install/install-workbench-app.html.textile.liquid
@@ -73,7 +73,14 @@ aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 Copy @config/application.yml.example@ to @config/application.yml@ and edit it appropriately for your environment.
 
 * Set @secret_token@ to the string you generated with @rake secret@.
-* Point @arvados_login_base@ and @arvados_v1_base@ at your "API server":install-api-server.html
+* Point @arvados_login_base@ and @arvados_v1_base@ at your "API server":install-api-server.html, like this:
+
+
+
arvados_login_base: https://your.host:3030/login
+arvados_v1_base: https://your.host:3030/arvados/v1
+
+
+ * @site_name@ can be any string to identify this Workbench. * If the SSL certificate you use for development isn't signed by a CA, make sure @arvados_insecure_https@ is @true@. -- 2.30.2