Project

General

Profile

Actions

Idea #15795

closed

[API] Accept configured SystemRootToken without doing a database lookup

Added by Tom Clegg over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
-
Start date:
11/23/2019
Due date:
Story points:
-
Release relationship:
Auto

Description

The main benefit is a simpler installation process (the installer can use a randomly generated string, instead of running a rake task that depends on other parts of the configuration being ready enough for API to start up). A secondary benefit is speeding up system requests a little bit.

With this change, RailsAPI can also throw an "invalid config" error at startup if SystemRootToken is not configured. (With the current code this can't be treated as an error because RailsAPI needs to load its config in order to generate a valid SystemRootToken.)


Subtasks 1 (0 open1 closed)

Task #15872: Review 15795-sys-root-tokenResolvedTom Clegg11/23/2019Actions

Related issues

Related to Arvados - Idea #15107: [controller] Implement native Google login (configurable as an alternative to sso-provider)ResolvedTom Clegg10/31/2019Actions
Related to Arvados - Idea #15720: [API] Unified user listing across all clusters in a federationResolvedTom Clegg11/19/2019Actions
Actions

Also available in: Atom PDF