Idea #16314
closed
Support literal user/pass pairs in config file + make arvbox use it instead of SSO
Added by Peter Amstutz over 4 years ago.
Updated over 4 years ago.
Release relationship:
Auto
Description
Example config file excerpt:
Login:
# Authenticate test users only.
Test:
Enable: true
Users:
active:
email: active-user@arvados.local
password: xyzzy
projectviewer:
email: project-viewer@arvados.local
password: xyzzy
In the process, can we fix the hardcoded localhost/port check for redirect to SSO server in
lib/controller/handler_test.go line 197
lib/controller/rpc/conn_test.go line 61
- Story points set to 1.0
- Assigned To set to Peter Amstutz
- Target version changed from 2020-04-22 to 2020-05-06 Sprint
- Related to Idea #15322: Replace and delete sso-provider added
- Target version changed from 2020-05-06 Sprint to 2020-05-20 Sprint
- Target version changed from 2020-05-20 Sprint to 2020-06-03 Sprint
- Target version changed from 2020-06-03 Sprint to 2020-06-17 Sprint
- Target version deleted (
2020-06-17 Sprint)
- Subject changed from arvbox uses PAM login instead of SSO to Support literal user/pass pairs in config file + make arvbox use it instead of SSO
- Description updated (diff)
Maybe it should use hashed passwords at least?
Since this is only intended for test environments, I don't think hashed passwords need to be a priority.
- Release set to 25
- Target version set to 2020-08-26 Sprint
- Assigned To changed from Peter Amstutz to Tom Clegg
- Description updated (diff)
- Description updated (diff)
- Status changed from New to In Progress
- File
lib/controller/localdb/login.go
- Line 38 et al: Having so many
wantX
condition checks is making hard to follow the case statements, could we just check that the number of true wantX
vars is 1 and then clean up the case statements for better readability?
- Tests failed -- adding the new config to export.go seem to be missing: developer-run-tests-remainder: #2103 /console
Updates at 658f6be33e100b4cefd3ca7c332fe13970d6a245 LGTM.
Workbench2 branch requires the following fix:
diff --git a/src/common/config.ts b/src/common/config.ts
index 26f8dddb..825bf132 100644
--- a/src/common/config.ts
+++ b/src/common/config.ts
@@ -235,7 +235,7 @@ export const mockClusterConfigJSON = (config: Partial<ClusterConfigJSON>): Clust
Enable: false,
},
Test: {
- Enable: boolean;
+ Enable: false,
}
},
Collections: {
I've manually tried arvbox and it works great!
- File
doc/install/arvbox.html.textile.liquid
mentions SSO related things on lines 83, 137, 140
- Workbench2 branch needs a fix at file
src/common/config.ts
line 238 → s/;/,/
- Other than that, LGTM.
- Target version changed from 2020-08-26 Sprint to 2020-09-09 Sprint
- Status changed from In Progress to Resolved
Also available in: Atom
PDF