Story #15795

Updated by Tom Clegg over 2 years ago

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.)

Back