Sha256: 350550c69b3cea5ea5407d4b47b4a74e4bd5e6ad0defc225c6d4f43daaa79d56

Contents?: true

Size: 1.58 KB

Versions: 148

Compression:

Stored size: 1.58 KB

Contents

module ForestLiana
  MESSAGES = {
    CONFIGURATION: {
      AUTH_SECRET_MISSING: "Your Forest authSecret seems to be missing. Can you check that you properly set a Forest authSecret in the Forest initializer?",
    },
    SERVER_TRANSACTION: {
      SECRET_AND_RENDERINGID_INCONSISTENT: "Cannot retrieve the project you're trying to unlock. The envSecret and renderingId seems to be missing or inconsistent.",
      SERVER_DOWN: "Cannot retrieve the data from the Forest server. Forest API seems to be down right now.",
      SECRET_NOT_FOUND: "Cannot retrieve the data from the Forest server. Can you check that you properly copied the Forest envSecret in the Liana initializer?",
      UNEXPECTED: "Cannot retrieve the data from the Forest server. An error occured in Forest API.",
      INVALID_STATE_MISSING: "Invalid response from the authentication server: the state parameter is missing",
      INVALID_STATE_FORMAT: "Invalid response from the authentication server: the state parameter is not at the right format",
      INVALID_STATE_RENDERING_ID: "Invalid response from the authentication server: the state does not contain a renderingId",
      MISSING_RENDERING_ID: "Authentication request must contain a renderingId",
      INVALID_RENDERING_ID: "The parameter renderingId is not valid",
      REGISTRATION_FAILED: "The registration to the authentication API failed, response: ",
      OIDC_CONFIGURATION_RETRIEVAL_FAILED: "Failed to retrieve the provider's configuration.",
      names: {
        TWO_FACTOR_AUTHENTICATION_REQUIRED: 'TwoFactorAuthenticationRequiredForbiddenError',
      }
    }
  }
end

Version data entries

148 entries across 148 versions & 1 rubygems

Version Path
forest_liana-7.7.1 config/initializers/error-messages.rb
forest_liana-7.7.0 config/initializers/error-messages.rb
forest_liana-7.6.14 config/initializers/error-messages.rb
forest_liana-7.6.13 config/initializers/error-messages.rb
forest_liana-7.6.12 config/initializers/error-messages.rb
forest_liana-7.6.11 config/initializers/error-messages.rb
forest_liana-7.6.10 config/initializers/error-messages.rb
forest_liana-7.6.9 config/initializers/error-messages.rb
forest_liana-7.6.8 config/initializers/error-messages.rb
forest_liana-7.6.7 config/initializers/error-messages.rb
forest_liana-7.6.6 config/initializers/error-messages.rb
forest_liana-7.6.5 config/initializers/error-messages.rb
forest_liana-7.6.4 config/initializers/error-messages.rb
forest_liana-7.6.3 config/initializers/error-messages.rb
forest_liana-7.6.2 config/initializers/error-messages.rb
forest_liana-7.6.1 config/initializers/error-messages.rb
forest_liana-7.6.0 config/initializers/error-messages.rb
forest_liana-7.5.1 config/initializers/error-messages.rb
forest_liana-7.5.0 config/initializers/error-messages.rb
forest_liana-7.4.5 config/initializers/error-messages.rb